Github Actions: bump to Ubuntu 26.04 runner
cover Github Actions: bump to Ubuntu 26.04 runner
Changes from v0:
- Replaced "ubuntu-latest" to "ubuntu-26.04"
- Updated the commit message
Sorry for the trouble.
I also have a plan to reduce long runtime of CI runs by making mkfs invariant(take volume serial and GPT GUIDs through commandline options), so stay tuned.
David Timber (1):
Github Actions: bump to Ubuntu 26.04 runner
.github/workflows/c-cpp.yml | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-)
Signature · 1 line
2.56.0
PATCH 1/1 Github Actions: bump to Ubuntu 26.04 runner
Github rolled out 26.04 for the "ubuntu-latest" runner, breaking the CI pipeline due to deprecated and missing packages used, one of which being MIPS.
The gradual roll out of Ubuntu 26.04 runner means that some CI runs will still be run by the old 24.04 runner, causing breakage. To workaround this, pin the runner to "ubuntu-26.04".
Replace MIPS emulation with SPARC64 for big-endian tests. Avoid using the -E option of sudo that's been removed in Ubuntu 26.04. Do not install other packages that have been removed.
--- .github/workflows/c-cpp.yml | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-)
.github/workflows/c-cpp.yml +14 -19
@@ -52,7 +52,7 @@ env: jobs: memcheck: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 strategy: fail-fast: false matrix:
@@ -64,7 +64,6 @@ jobs: sudo apt-get --update --quiet --yes install \ linux-headers-$(uname -r) xz-utils \ valgrind libblkid-dev ${{ matrix.cc }} - sudo apt-get install -y linux-modules-extra-$(uname -r) - name: Build run: | export "CC=${{ matrix.cc }}"
@@ -80,9 +79,10 @@ jobs: - name: Run fsck with Valgrind run: | pushd tests - export FSCK1="valgrind --error-exitcode=1 ../fsck/fsck.exfat" - export FSCK2="valgrind --error-exitcode=1 ../fsck/fsck.exfat" - sudo -E ./test_fsck.sh + sudo \ + FSCK1="valgrind --error-exitcode=1 ../fsck/fsck.exfat" \ + FSCK2="valgrind --error-exitcode=1 ../fsck/fsck.exfat" \ + ./test_fsck.sh popd - name: Run the rest with Valgrind shell: bash
@@ -158,16 +158,16 @@ jobs: popd rm -rf "$TMP_DIR" tests: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 strategy: fail-fast: false matrix: include: - - host: mips-linux-gnu - qemu: qemu-system-mips - gcc: gcc-mips-linux-gnu - run: qemu-mips - name: mips + - host: sparc64-linux-gnu + qemu: qemu-system-sparc + gcc: gcc-sparc64-linux-gnu + run: qemu-sparc64 + name: sparc - host: x86_64-linux-gnu qemu: qemu-system-x86 gcc: gcc-x86-64-linux-gnu
@@ -186,7 +186,6 @@ jobs: cryptsetup parted dosfstools e2fsprogs btrfs-progs f2fs-tools ntfs-3g xfsprogs \ ${{ matrix.gcc }} ${{ matrix.qemu }} \ qemu-user qemu-utils - sudo apt-get install -y linux-modules-extra-$(uname -r) export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export PATH=/usr/local/lib:$PATH
@@ -288,12 +287,8 @@ jobs: - name: run fsck repair testcases run: | pushd tests - export FSCK1="${{ matrix.run }} ../fsck/fsck.exfat" - export FSCK2="fsck.exfat" - sudo -E ./test_fsck.sh - export FSCK1="fsck.exfat" - export FSCK2="${{ matrix.run }} ../fsck/fsck.exfat" - sudo -E ./test_fsck.sh + sudo FSCK1="${{ matrix.run }} ../fsck/fsck.exfat" FSCK2="fsck.exfat" ./test_fsck.sh + sudo FSCK1="fsck.exfat" FSCK2="${{ matrix.run }} ../fsck/fsck.exfat" ./test_fsck.sh popd - name: dentry creation/deletion stress test shell: bash
@@ -450,7 +445,7 @@ jobs: fail-fast: false matrix: os: [windows-2022, windows-latest] - name: [mips, i686, x86_64] + name: [sparc, i686, x86_64] runs-on: ${{ matrix.os }} steps: - uses: actions/download-artifact@v8
Signature · 1 line
2.56.0
Quoted 9 lines · David Timber
Github rolled out 26.04 for the "ubuntu-latest" runner, breaking the CI pipeline due to deprecated and missing packages used, one of which being MIPS.
The gradual roll out of Ubuntu 26.04 runner means that some CI runs will still be run by the old 24.04 runner, causing breakage. To workaround this, pin the runner to "ubuntu-26.04".
Quoted 6 lines
Replace MIPS emulation with SPARC64 for big-endian tests. Avoid using the -E option of sudo that's been removed in Ubuntu 26.04. Do not install other packages that have been removed.
Applied it to #exfat-next.
Thanks!