1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
name: tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
pkgs: device-tree-compiler rauc simg2img u-boot-tools f2fs-tools arm-trusted-firmware-tools
- os: ubuntu-20.04
pkgs: device-tree-compiler rauc simg2img u-boot-tools f2fs-tools
- os: ubuntu-18.04
pkgs: device-tree-compiler simg2img u-boot-tools f2fs-tools
steps:
- name: Inspect environment
run: |
whoami
lsb_release -a
gcc --version
- uses: actions/checkout@v2
- name: Install required packages
run: |
sudo apt-get update
sudo apt-get install dosfstools fakeroot genext2fs genisoimage libconfuse-dev mtd-utils mtools qemu-utils qemu-utils squashfs-tools ${{ matrix.pkgs }}
- name: Build & Test (with ${{ matrix.options }})
run: |
./autogen.sh
./configure
AM_COLOR_TESTS=always make distcheck
- name: Dump test log
if: ${{ failure() }}
run: |
find -name test-suite.log -print0 | xargs -0 cat
|