This patch upgrades the Ubuntu runner to the latest LTS version. It also adds required packages and includes the runner image in the DPDK CI signature to ensure a fresh cache build.
Signed-off-by: Eelco Chaudron <[email protected]> --- .github/workflows/build-and-test.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 13a6bf3f2..96ea882f4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -7,15 +7,21 @@ env: jobs: build-dpdk: + strategy: + matrix: + runner: [ubuntu-24.04] env: - dependencies: gcc libbpf-dev libnuma-dev libpcap-dev ninja-build pkgconf + dependencies: | + gcc libbpf-dev libnuma-dev libpcap-dev libsystemd-dev libxdp-dev \ + ninja-build pkgconf + CC: gcc DPDK_GIT: https://dpdk.org/git/dpdk-stable DPDK_VER: 23.11.1 name: dpdk gcc outputs: dpdk_key: ${{ steps.gen_dpdk_key.outputs.key }} - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.runner }} timeout-minutes: 30 steps: @@ -33,7 +39,8 @@ jobs: # This also allows us to use cache from any branch as long as version # and a way we're building DPDK stays the same. run: | - cat .ci/dpdk-* > dpdk-ci-signature + echo ${{ matrix.runner }} > dpdk-ci-signature + cat .ci/dpdk-* >> dpdk-ci-signature grep -rwE 'DPDK_GIT|DPDK_VER' .github/ >> dpdk-ci-signature if [ "${DPDK_VER##refs/*/}" != "${DPDK_VER}" ]; then git ls-remote --heads $DPDK_GIT $DPDK_VER >> dpdk-ci-signature @@ -80,7 +87,7 @@ jobs: dependencies: | automake libtool gcc bc libjemalloc2 libjemalloc-dev libssl-dev \ llvm-dev libnuma-dev libpcap-dev selinux-policy-dev libbpf-dev \ - lftp libreswan + libsystemd-dev libxdp-dev lftp libreswan CC: ${{ matrix.compiler }} DPDK: ${{ matrix.dpdk }} DPDK_SHARED: ${{ matrix.dpdk_shared }} @@ -93,7 +100,7 @@ jobs: TEST_RANGE: ${{ matrix.test_range }} name: linux ${{ join(matrix.*, ' ') }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 30 strategy: @@ -280,12 +287,13 @@ jobs: env: dependencies: | automake bc clang-tools libbpf-dev libnuma-dev libpcap-dev \ - libunbound-dev libunwind-dev libssl-dev libtool llvm-dev + libunbound-dev libunwind-dev libssl-dev libtool libsystemd-dev \ + libxdp-dev llvm-dev CC: clang DPDK: dpdk CLANG_ANALYZE: true name: clang-analyze - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: @@ -390,7 +398,7 @@ jobs: build-oss-fuzz: name: build oss-fuzz fuzzers - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: @@ -458,7 +466,7 @@ jobs: DPDK: ${{ matrix.dpdk }} name: linux deb ${{ matrix.dpdk }} dpdk - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 30 strategy: -- 2.46.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
