X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=151641e6fa1071fff65b205098e3f2fbca5d0930;hb=84f5ac9418ea9995975b30fa4ea57018f9618fc1;hp=0b72df0ebe0a5b186d47337fdbe55c7ef77e94f1;hpb=9d620630ea30386d7fc2ff192656a9051b6dc6b5;p=dpdk.git diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b72df0ebe..151641e6fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: CC: ccache ${{ matrix.config.compiler }} DEF_LIB: ${{ matrix.config.library }} LIBABIGAIL_VERSION: libabigail-1.8 - REF_GIT_TAG: v20.11 + REF_GIT_TAG: none RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }} strategy: @@ -34,7 +34,7 @@ jobs: - os: ubuntu-18.04 compiler: gcc library: shared - checks: abi+doc+tests + checks: doc+tests - os: ubuntu-18.04 compiler: clang library: static @@ -88,11 +88,12 @@ jobs: path: reference key: ${{ steps.get_ref_keys.outputs.abi }} - name: Update APT cache - run: sudo apt update + run: sudo apt update || true - name: Install packages run: sudo apt install -y ccache libnuma-dev python3-setuptools - python3-wheel python3-pip ninja-build libbsd-dev libpcap-dev - libibverbs-dev libcrypto++-dev libfdt-dev libjansson-dev + python3-wheel python3-pip python3-pyelftools ninja-build libbsd-dev + libpcap-dev libibverbs-dev libcrypto++-dev libfdt-dev libjansson-dev + libarchive-dev - name: Install libabigail build dependencies if no cache is available if: env.ABI_CHECKS == 'true' && steps.libabigail-cache.outputs.cache-hit != 'true' run: sudo apt install -y autoconf automake libtool pkg-config libxml2-dev @@ -104,6 +105,9 @@ jobs: if: env.AARCH64 == 'true' run: sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross pkg-config-aarch64-linux-gnu + - name: Install test tools packages + if: env.AARCH64 != 'true' || env.RUN_TESTS == 'true' + run: sudo apt install -y gdb - name: Install doc generation packages if: env.BUILD_DOCS == 'true' run: sudo apt install -y doxygen graphviz python3-sphinx @@ -124,3 +128,4 @@ jobs: build/meson-logs/testlog.txt build/.ninja_log build/meson-logs/meson-log.txt + build/gdb.log