X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=c0d2829d0e4fa493baba8a3703fb0dba9ca0d371;hb=7c3c0d0f290cfc03dc0e75013af8035b450ee114;hp=e2f94d786be574df30aec2b2544ac149162c4e4f;hpb=2261dbe944c8fe109ee94c42dd55831f3ca87169;p=dpdk.git diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2f94d786b..c0d2829d0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: env: AARCH64: ${{ matrix.config.cross == 'aarch64' }} ABI_CHECKS: ${{ contains(matrix.config.checks, 'abi') }} + ASAN: ${{ contains(matrix.config.checks, 'asan') }} BUILD_32BIT: ${{ matrix.config.cross == 'i386' }} BUILD_DOCS: ${{ contains(matrix.config.checks, 'doc') }} CC: ccache ${{ matrix.config.compiler }} @@ -25,6 +26,7 @@ jobs: MINI: ${{ matrix.config.mini != '' }} PPC64LE: ${{ matrix.config.cross == 'ppc64le' }} REF_GIT_TAG: v22.03 + RISCV64: ${{ matrix.config.cross == 'riscv64' }} RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }} strategy: @@ -48,7 +50,7 @@ jobs: - os: ubuntu-20.04 compiler: clang library: shared - checks: doc+tests + checks: asan+doc+tests - os: ubuntu-20.04 compiler: gcc library: static @@ -73,6 +75,10 @@ jobs: compiler: gcc library: shared cross: ppc64le + - os: ubuntu-20.04 + compiler: gcc + library: shared + cross: riscv64 steps: - name: Checkout sources @@ -131,8 +137,11 @@ jobs: if: env.PPC64LE == 'true' run: sudo apt install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross pkg-config-powerpc-linux-gnu + - name: Install riscv64 cross compiling packages + if: env.RISCV64 == 'true' + run: sudo apt install -y crossbuild-essential-riscv64 - name: Install test tools packages - if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RUN_TESTS == 'true' + if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64 != 'true' || env.RUN_TESTS == 'true' run: sudo apt install -y gdb - name: Install doc generation packages if: env.BUILD_DOCS == 'true'