Commit 0211069d authored by Robert Edmonds's avatar Robert Edmonds

build.yml: Ubuntu: Add 22.04, 24.04

- Add Ubuntu 22.04, 24.04 to the standard distcheck job.
- Add Ubuntu 22.04, 24.04 to the CMake job.
- Convert Valgrind job from Ubuntu 20.04 to 24.04.
- Convert coverage job from Ubuntu 20.04 to 24.04.
- Convert the run-on-arch-action job to run on Ubuntu 24.04 (base) and
Ubuntu 22.04 (the arch-specific actions; Ubuntu 24.04 not available).
- Add riscv64 to the list of architectures for the run-on-arch-action
job to run on.
parent 6efd7db3
...@@ -12,7 +12,7 @@ jobs: ...@@ -12,7 +12,7 @@ jobs:
distcheck: distcheck:
strategy: strategy:
matrix: matrix:
os: [macos-latest, ubuntu-20.04] os: [macos-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
fail-fast: false fail-fast: false
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
...@@ -32,12 +32,13 @@ jobs: ...@@ -32,12 +32,13 @@ jobs:
make -j${nproc} distcheck VERBOSE=1 make -j${nproc} distcheck VERBOSE=1
distcheck-multiarch: distcheck-multiarch:
runs-on: ubuntu-20.04 runs-on: ubuntu-24.04
strategy: strategy:
matrix: matrix:
include: include:
- arch: armv7 - arch: armv7
- arch: aarch64 - arch: aarch64
- arch: riscv64
- arch: s390x - arch: s390x
- arch: ppc64le - arch: ppc64le
fail-fast: false fail-fast: false
...@@ -49,7 +50,7 @@ jobs: ...@@ -49,7 +50,7 @@ jobs:
with: with:
arch: ${{ matrix.arch }} arch: ${{ matrix.arch }}
githubToken: ${{ github.token }} githubToken: ${{ github.token }}
distro: ubuntu20.04 distro: ubuntu22.04
install: | install: |
apt-get update -q -y apt-get update -q -y
apt-get install -q -y build-essential autoconf automake libtool pkg-config apt-get install -q -y build-essential autoconf automake libtool pkg-config
...@@ -61,7 +62,7 @@ jobs: ...@@ -61,7 +62,7 @@ jobs:
make -j3 distcheck VERBOSE=1 make -j3 distcheck VERBOSE=1
valgrind: valgrind:
runs-on: ubuntu-20.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
...@@ -75,7 +76,7 @@ jobs: ...@@ -75,7 +76,7 @@ jobs:
make -j${nproc} distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests CFLAGS=\"-fsanitize=undefined -fno-sanitize-recover=undefined\"" VERBOSE=1 make -j${nproc} distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests CFLAGS=\"-fsanitize=undefined -fno-sanitize-recover=undefined\"" VERBOSE=1
coverage: coverage:
runs-on: ubuntu-20.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
...@@ -99,7 +100,7 @@ jobs: ...@@ -99,7 +100,7 @@ jobs:
strategy: strategy:
matrix: matrix:
build_type: [Debug, Release] build_type: [Debug, Release]
os: [macos-latest, ubuntu-20.04] os: [macos-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
fail-fast: false fail-fast: false
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment