Skip to content

Test host-toolchain CI jobs on ubuntu-26.04 - #5867

Merged
nlohmann merged 2 commits into
developfrom
ci/ubuntu-26.04
Oct 19, 2026
Merged

nlohmann merged 2 commits into
developfrom
ci/ubuntu-26.04

Conversation

@nlohmann

Copy link
Copy Markdown
Owner

GitHub moves ubuntu-latest from Ubuntu 24.04 to 26.04 between 2026-10-19 and 2026-11-19 (actions/runner-images#14748). During the rollout, a job may land on either image.

Jobs that run in a container (gcc:*, silkeh/clang:*, ubuntu:*, Intel, NVIDIA) only use the host for Docker and are unaffected. This PR switches the jobs that use the runner's own toolchain (GCC, gcov/lcov, Valgrind, Python/pip) to ubuntu-26.04 so breakage shows up now:

  • ubuntu.yml: ci_meson_install, ci_infer, ci_static_analysis_ubuntu, ci_test_coverage, ci_emscripten, ci_test_documentation
  • check_amalgamation.yml: check
  • codeql-analysis.yml: CodeQL-Build
  • semgrep.yml: semgrep

Not switched because they don't run on pull requests: check_docs_links.yml and publish_documentation.yml. They use the same make install_venv as ci_test_build_documentation, which this PR does cover. Pure API jobs (labeler, stale, dependency review, scorecards, comment/cancel helpers) are left alone.

Once CI is green or fixed, this PR can be merged as is (pinning ubuntu-26.04 explicitly) or changed back to ubuntu-latest.

Public API

No breaking changes: this only touches CI workflows.

🤖 Generated with Claude Code

GitHub moves ubuntu-latest to Ubuntu 26.04 between 2026-10-19 and
2026-11-19 (actions/runner-images#14748). Run the jobs that use the
runner's own compilers and tools on ubuntu-26.04 now to find breakage
before the rollout. Container jobs are unaffected.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
On ubuntu-26.04, lcov reports a mismatched end line for a function of the
test helper value_in_range_of_test.hpp in the 32-bit build and stops
(ci_test_coverage). The report only covers the library sources, so ignore
the inconsistency like the mismatch and unused errors before.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@github-actions github-actions Bot added the CMake label Oct 17, 2026
@nlohmann
nlohmann marked this pull request as ready for review October 19, 2026 15:58
@nlohmann nlohmann added this to the Release 3.13.0 milestone Oct 19, 2026
@nlohmann nlohmann added the 🚀 ready to merge Ready to merge - just waiting for CI to complete. label Oct 19, 2026
@nlohmann
nlohmann merged commit a2248ed into develop Oct 19, 2026
169 of 170 checks passed
@nlohmann
nlohmann deleted the ci/ubuntu-26.04 branch October 19, 2026 20:00
nlohmann added a commit that referenced this pull request Oct 21, 2026
The Visual Studio 2019 job (Release, x86, JSON_ImplicitConversions=OFF)
builds the tests for all standards and takes 49 to 57 minutes when it
passes, close to AppVeyor's 60-minute limit per job. In build 54917118
(#5867), build 54917312 (#5620), and build 54930878 (#5851) it was
stopped at the limit while still compiling. Split it with JSON_TestShard
like the Visual Studio 2017 jobs.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CMake M 🚀 ready to merge Ready to merge - just waiting for CI to complete.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant