From ea6a6817ddd1b988381829a9afadcca3d0354549 Mon Sep 17 00:00:00 2001 From: Eelco Chaudron Date: Thu, 31 Oct 2024 13:04:00 +0100 Subject: [PATCH] ci: Update GitHub actions runner from Ubuntu 22.04 to 24.04. 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. Acked-by: Kevin Traynor Signed-off-by: Eelco Chaudron --- .github/workflows/build-and-test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c21ed20188f..90d8aeb8a2b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -7,6 +7,9 @@ env: jobs: build-dpdk: + strategy: + matrix: + runner: [ubuntu-24.04] env: dependencies: gcc libnuma-dev ninja-build CC: gcc @@ -15,7 +18,7 @@ jobs: 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: @@ -34,6 +37,7 @@ jobs: # and a way we're building DPDK stays the same. run: | grep -irE 'RTE_|DPDK|meson|ninja' .ci/dpdk-* > 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 @@ -79,7 +83,7 @@ jobs: env: dependencies: | automake libtool gcc bc libjemalloc2 libjemalloc-dev libssl-dev \ - llvm-dev libnuma-dev libpcap-dev selinux-policy-dev libbpf-dev + llvm-dev libnuma-dev libpcap-dev selinux-policy-dev libxdp-dev ASAN: ${{ matrix.asan }} UBSAN: ${{ matrix.ubsan }} CC: ${{ matrix.compiler }} @@ -92,7 +96,7 @@ jobs: TESTSUITE: ${{ matrix.testsuite }} name: linux ${{ join(matrix.*, ' ') }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 30 strategy: @@ -269,7 +273,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: