Skip to content

Commit

Permalink
ci: Update GitHub actions runner from Ubuntu 22.04 to 24.04.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Eelco Chaudron <[email protected]>
  • Loading branch information
chaudron committed Nov 11, 2024
1 parent 54643f6 commit ea6a681
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ env:

jobs:
build-dpdk:
strategy:
matrix:
runner: [ubuntu-24.04]
env:
dependencies: gcc libnuma-dev ninja-build
CC: gcc
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ea6a681

Please sign in to comment.