summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorStanislaw Kardach <[email protected]>2022-06-09 14:17:01 +0200
committerDavid Marchand <[email protected]>2022-06-15 09:12:19 +0200
commit04198bace0bd9cb8615445c0ea04459b17a49402 (patch)
treebaf723361dd9ea31402687b798958f95be6f8ad1 /.github/workflows
parentb13fb775834c690c433de9397dee9e87a32503eb (diff)
ci: enable C++ check for RISC-V
The current packages installed for RISC-V build check do not contain a C++ compiler, which hid an issue with C++ type conversion in the rte_vect.h header on RISC-V or in the scalar implementation of the LPM x4 lookup. Now that this issue is fixed, use the full toolchain install to enable the C++ test. Besides, the user's guide for RISC-V cross-compilation recommends the use of crossbuild-essential-riscv64. Signed-off-by: Stanislaw Kardach <[email protected]> Reviewed-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7c8528cb04..c0d2829d0e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -139,8 +139,7 @@ jobs:
pkg-config-powerpc-linux-gnu
- name: Install riscv64 cross compiling packages
if: env.RISCV64 == 'true'
- run: sudo apt install -y gcc-riscv64-linux-gnu libc6-dev-riscv64-cross
- pkg-config-riscv64-linux-gnu
+ run: sudo apt install -y crossbuild-essential-riscv64
- name: Install test tools packages
if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64 != 'true' || env.RUN_TESTS == 'true'
run: sudo apt install -y gdb