From: Stanislaw Kardach Date: Tue, 21 Jun 2022 12:28:24 +0000 (+0200) Subject: ci: enable C++ check for Arm and PPC X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c65e343c141d362ae00df717c9ce9af1f9310647;p=dpdk.git ci: enable C++ check for Arm and PPC The crossbuild-essential- packages contain all necessary dependencies to cross-compile binaries for a given architecture including C and C++ compilers. Therefore use those instead of listing packages directly. This way C++ compiler is also installed and C++ include checks will be checked in CI for ARM and PowerPC. Cc: stable@dpdk.org Signed-off-by: Stanislaw Kardach Reviewed-by: David Marchand --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0d2829d0e..1106256539 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,15 +128,13 @@ jobs: run: sudo apt install -y gcc-multilib g++-multilib - name: Install aarch64 cross compiling packages if: env.AARCH64 == 'true' - run: sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross - pkg-config-aarch64-linux-gnu + run: sudo apt install -y crossbuild-essential-arm64 - name: Install mingw cross compiling packages if: env.MINGW == 'true' run: sudo apt install -y mingw-w64 mingw-w64-tools - name: Install ppc64le cross compiling packages if: env.PPC64LE == 'true' - run: sudo apt install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross - pkg-config-powerpc-linux-gnu + run: sudo apt install -y crossbuild-essential-ppc64el - name: Install riscv64 cross compiling packages if: env.RISCV64 == 'true' run: sudo apt install -y crossbuild-essential-riscv64