Skip to content

CI: Pin Linux jobs to ubuntu-24.04. - #1442

Merged
JohanMabille merged 1 commit into
xtensor-stack:masterfrom
DiamonDinoia:ci/fix-ubuntu-2604
Nov 4, 2026
Merged

JohanMabille merged 1 commit into
xtensor-stack:masterfrom
DiamonDinoia:ci/fix-ubuntu-2604

Conversation

@DiamonDinoia

Copy link
Copy Markdown
Contributor

GitHub moved ubuntu-latest to Ubuntu 26.04. These jobs fail on the
new image. Ubuntu 24.04 is the last image these jobs passed on. Pin
each failed job to ubuntu-24.04.

Failing jobs and causes on Ubuntu 26.04:

  • Arm-SVE build (Arm SVE512): no g++-10-aarch64-linux-gnu package.
  • Arm cross build (armv7-a and armv8-a, gcc 10): no g++-10 cross
    package for arm-linux-gnueabihf and aarch64-linux-gnu.
  • Linux x86 build (gcc 10 - avx512bw): no g++-10 package.
  • Linux x86 build (clang 16 - native xtl-complex): no clang-16 package.
  • sanitizer build (sanitize=address): apt.llvm.org has no
    llvm-toolchain-resolute-20 repository.
  • Emscripten test: Playwright does not support chromium on
    ubuntu26.04-x64.
  • RISC-V RVV build (RVV128, RVV256, RVV512): qemu 10.2 from the image
    gives an illegal instruction in qemu-riscv64. Ubuntu 24.04 has
    qemu 8.2, which ran these tests.
  • style check clang-tidy-check (x86_64): clang-tidy 21 from the image
    does not know -mno-avx512pf. Ubuntu 24.04 has clang-tidy 18.
  • PowerPC build (ppc64, clang 20): the gcc-12 powerpc64 cross runtime
    from the image gives an IBM/IEEE long double mismatch at link time.
    Ubuntu 24.04 has the runtime this job passed with.

Local checks in podman quoted in the review: each apt install command
installs on ubuntu:24.04 and gives the same error as CI on ubuntu:26.04.

Assisted by AI.

GitHub moved ubuntu-latest to Ubuntu 26.04. Each job that is
satisfactory on the new image goes to ubuntu-26.04:

- linux.yml (all but the gcc 10 and clang 16 jobs), Arm and SVE
  cross with gcc 14, PowerPC cross with gcc 12 and ppc64le
  clang 20, the format, inline-keyword and unused-includes style
  checks, Emscripten (conda-forge playwright 1.61.0, the first
  release that supports Ubuntu 26.04), and the sanitizer jobs
  with LLVM 22.

These jobs stay on ubuntu-24.04:
- gcc 10 jobs on linux, Arm and SVE: no g++-10 packages.
- clang 16 native job: no clang-16 package.
- clang-tidy check: clang-tidy 21 rejects -mno-avx512pf/-mno-avx512er.
- ppc64 clang 20: IBM/IEEE long double mismatch stops the linker.
- arch-consistency check: image g++ 15 rejects -march=knl/-march=knm.
- RISC-V RVV: qemu 10.2 gives an illegal instruction.
New on ubuntu-26.04: gcc 16 avx2 and clang 22 avx2 on linux, and
gcc 16 cross jobs for armv7-a, armv8-a and SVE 128, 256 and 512.
@JohanMabille
JohanMabille merged commit ebaa766 into xtensor-stack:master Nov 4, 2026
98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants