From: Jan Kiszka <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> ---
Changes in v2: - add autoconf-archive also to coverity workflow .github/workflows/coverity.yaml | 4 ++-- .github/workflows/main.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverity.yaml b/.github/workflows/coverity.yaml index 01145f5..0879f70 100644 --- a/.github/workflows/coverity.yaml +++ b/.github/workflows/coverity.yaml @@ -1,7 +1,7 @@ # # EFI Boot Guard # -# Copyright (c) Siemens AG, 2021 +# Copyright (c) Siemens AG, 2021-2022 # # Authors: # Claudius Heine <[email protected]> @@ -33,7 +33,7 @@ jobs: run: | sudo apt-get update sudo apt-get install --no-install-recommends \ - gcc-multilib gnu-efi libz-dev libpci-dev check + autoconf-archive gcc-multilib gnu-efi libz-dev libpci-dev check - name: Install Coverity run: | wget https://scan.coverity.com/download/cxx/linux64 \ diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7d33c76..429557b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,6 +29,7 @@ jobs: - amd64 - i386 - arm64 + - arm - cppcheck steps: - name: Checkout @@ -69,6 +70,24 @@ jobs: autoconf-archive gcc-aarch64-linux-gnu libc6-dev-arm64-cross \ gnu-efi:arm64 libz-dev:arm64 libpci-dev:arm64 check:arm64 \ qemu-user-static + - name: Install arm dependencies + if: ${{ matrix.target == 'arm' }} + run: | + sudo dpkg --add-architecture armhf + sudo sed -i 's/^deb /deb [arch=amd64] /g' /etc/apt/sources.list + sudo sh -c "cat <<EOF > /etc/apt/sources.list.d/ports.list + deb [arch=armhf] http://ports.ubuntu.com/ focal main restricted + deb [arch=armhf] http://ports.ubuntu.com/ focal-updates main restricted + deb [arch=armhf] http://ports.ubuntu.com/ focal universe + deb [arch=armhf] http://ports.ubuntu.com/ focal-updates universe + deb [arch=armhf] http://ports.ubuntu.com/ focal multiverse + deb [arch=armhf] http://ports.ubuntu.com/ focal-updates multiverse + EOF" + sudo apt-get update + sudo apt-get install --no-install-recommends \ + autoconf-archive gcc-arm-linux-gnueabihf libc6-dev-armhf-cross \ + gnu-efi:armhf libz-dev:armhf libpci-dev:armhf check:armhf \ + qemu-user-static - name: Install cppcheck if: ${{ matrix.target == 'cppcheck' }} run: | @@ -113,6 +132,13 @@ jobs: ../configure --host=aarch64-linux-gnu \ PKG_CONFIG=/usr/bin/aarch64-linux-gnu-pkg-config make check -j $(nproc) + - name: Build arm + if: ${{ matrix.target == 'arm' }} + run: | + cd build + ../configure --host=arm-linux-gnueabihf \ + PKG_CONFIG=/usr/bin/arm-linux-gnueabihf-pkg-config + make check -j $(nproc) - name: Run cppcheck if: ${{ matrix.target == 'cppcheck' }} run: | -- 2.35.3 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/919e0b9f-853a-6fdd-4973-e10c4efd4389%40siemens.com.
