btrfs-progs: ci: switch workflow runner image to ubuntu-24.04

There's an update to CI hosted runners,
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md

- kernel 6.8
- e2fsprogs 1.47
- gcc 13.2
- clang 18.1.3

Switch the workflow files to use it as ubuntu-latest still points to the
22.04 version. The updated versions let us avoid workarounds due to old
version if e2fsprogs.

The musl 32bit build seems to fail so pin the version to the last one
where it's known to work.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-06-13 02:58:25 +02:00
parent 5dc737c42c
commit f642ec86e6
8 changed files with 44 additions and 38 deletions

View File

@ -10,7 +10,7 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev

View File

@ -14,31 +14,31 @@ on:
jobs:
check-centos7:
name: CI Centos 7
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Centos7
run: sudo docker run kdave/ci-centos-7-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-libudev
check-centos8:
name: CI Centos 8
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Centos8
run: sudo docker run kdave/ci-centos-8-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-zoned --disable-libudev
check-leap153:
name: CI Leap 15.3
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Leap 15.3
run: sudo docker run kdave/ci-opensuse-leap-15.3-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-zoned
check-leap154:
name: CI Leap 15.4
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Leap 15.4
run: sudo docker run kdave/ci-opensuse-leap-15.4-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-zoned
check-musl:
name: CI Musl
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Musl
run: sudo docker run kdave/ci-musl-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev
@ -46,7 +46,10 @@ jobs:
run: sudo docker run kdave/ci-musl-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev --enable-experimental
check-musl-32bit:
name: CI Musl (32bit)
runs-on: ubuntu-latest
# Pin the version, on 24.04 it fails:
# make: *** pselect jobs pipe: Function not implemented. Stop.
# make: *** Waiting for unfinished jobs....
runs-on: ubuntu-22.04
steps:
- name: CI Musl (32bit)
run: sudo docker run kdave/ci-musl-i386 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev
@ -54,7 +57,7 @@ jobs:
run: sudo docker run kdave/ci-musl-i386 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev --enable-experimental
check-tumbleweed:
name: CI Tumbleweed
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Tumbleweed
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation
@ -62,7 +65,7 @@ jobs:
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --enable-experimental
check-tumbleweed-libgcrypt:
name: CI Tumbleweed (libgcrypt)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Tumbleweed (libgcrypt)
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libgcrypt
@ -70,7 +73,7 @@ jobs:
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libgcrypt --enable-experimental
check-tumbleweed-libsodium:
name: CI Tumbleweed (libsodium)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Tumbleweed (libsodium)
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libsodium
@ -78,7 +81,7 @@ jobs:
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libsodium --enable-experimental
check-tumbleweed-libkcapi:
name: CI Tumbleweed (libkcapi)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Tumbleweed (libkcapi)
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libkcapi
@ -86,7 +89,7 @@ jobs:
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=libkcapi --enable-experimental
check-tumbleweed-botan:
name: CI Tumbleweed (Botan)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI Tumbleweed (Botan)
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=botan
@ -94,7 +97,7 @@ jobs:
run: sudo docker run kdave/ci-opensuse-tumbleweed-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --with-crypto=botan --enable-experimental
# check-tumbleweed-openssl:
# name: CI Tumbleweed (OpenSSL)
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# - name: CI Tumbleweed (OpenSSL)

View File

@ -12,84 +12,87 @@ on:
jobs:
check-centos7:
name: CI Centos 7
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Centos7
run: ci/ci-build-centos7
check-centos8:
name: CI Centos 8
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Centos8
run: ci/ci-build-centos8
check-leap153:
name: CI Leap 15.3
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Leap 15.3
run: ci/ci-build-leap153
check-leap154:
name: CI Leap 15.4
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Leap 15.4
run: ci/ci-build-leap154
check-musl:
name: CI Musl
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Musl
run: ci/ci-build-musl
check-musl-32bit:
name: CI Musl (32bit)
runs-on: ubuntu-latest
# Pin the version, on 24.04 it fails:
# make: *** pselect jobs pipe: Function not implemented. Stop.
# make: *** Waiting for unfinished jobs....
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: CI Musl (32bit)
run: ci/ci-build-musl-i386
check-tumbleweed:
name: CI Tumbleweed
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Tumbleweed
run: ci/ci-build-tumbleweed
check-tumbleweed-libgcrypt:
name: CI Tumbleweed (libgcrypt)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Tumbleweed (libgcrypt)
run: ci/ci-build-tumbleweed HEAD --with-crypto=libgcrypt
check-tumbleweed-libsodium:
name: CI Tumbleweed (libsodium)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Tumbleweed (libsodium)
run: ci/ci-build-tumbleweed HEAD --with-crypto=libsodium
check-tumbleweed-libkcapi:
name: CI Tumbleweed (libkcapi)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Tumbleweed (libkcapi)
run: ci/ci-build-tumbleweed HEAD --with-crypto=libkcapi
check-tumbleweed-botan:
name: CI Tumbleweed (Botan)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: CI Tumbleweed (Botan)
run: ci/ci-build-tumbleweed HEAD --with-crypto=botan
# check-tumbleweed-openssl:
# name: CI Tumbleweed (OpenSSL)
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# - name: CI Tumbleweed (OpenSSL)

View File

@ -13,7 +13,7 @@ on:
- master
jobs:
build-ubsan:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: uname -a
@ -53,7 +53,7 @@ jobs:
path: "tests/*-results.txt"
if-no-files-found: ignore
build-asan:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: uname -a

View File

@ -9,7 +9,7 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: uname -a

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
compiler: [ gcc, clang ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -31,7 +31,7 @@ jobs:
run: make V=1 EXTRA_CFLAGS='-march=x86-64' btrfs.box.static
build-musl:
name: Build test on musl
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Musl build
run: sudo docker run kdave/ci-musl-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev
@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
compiler: [ gcc, clang ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -65,7 +65,7 @@ jobs:
run: make hash-vectest && ./hash-vectest
test-mkfs:
name: Test mkfs.btrfs
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -85,7 +85,7 @@ jobs:
if-no-files-found: ignore
test-check:
name: Test btrfs check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -107,7 +107,7 @@ jobs:
if-no-files-found: ignore
test-misc:
name: Test misc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -127,7 +127,7 @@ jobs:
if-no-files-found: ignore
test-convert:
name: Test btrfs-convert
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs
@ -147,7 +147,7 @@ jobs:
if-no-files-found: ignore
test-other:
name: Test cli, fuzz
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: sudo modprobe btrfs

View File

@ -13,7 +13,7 @@ on:
branches: [ "devel", "master" ]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: uname -a

View File

@ -7,7 +7,7 @@ on:
- devel-ci
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: uname -a