Skip to content

ci: move GitHub-hosted runners to ubuntu-24.04 - #65

Merged
xmfcx merged 2 commits into
autowarefoundation:mainfrom
xmfcx:ci-ubuntu-24-04-runners
Oct 27, 2026
Merged

xmfcx merged 2 commits into
autowarefoundation:mainfrom
xmfcx:ci-ubuntu-24-04-runners

Conversation

@xmfcx

@xmfcx xmfcx commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Description

Part of autowarefoundation/autoware#7360.

Move the GitHub-hosted runners of this repository to ubuntu-24.04.

  • ubuntu-22.04 to ubuntu-24.04: 2 lines
  • ubuntu-latest to ubuntu-24.04: 1 line

ubuntu-latest already runs the ubuntu-24.04 image, so the ubuntu-latest lines only pin the label.

A job that runs in a container: uses ubuntu-latest, because the container sets the environment. Files that are synced from sync-file-templates do not change here. They get the new runner from the sync-files PR.

The Humble row of the build matrix stays on ubuntu-22.04. It installs ros-humble-* with apt on the runner, and ROS 2 Humble has no binary packages for Ubuntu 24.04.

Changed files:

  • .github/workflows/auto-assign.yaml
  • .github/workflows/build-and-test.yaml
  • .github/workflows/run-pre-commit.yaml

Related links

How was this PR tested?

  • pre-commit run --files <the changed files>: exit code 0. Every hook printed Skipped, because no hook of this repository checks YAML files.
  • No workflow ran locally. All 3 changed workflows trigger on pull_request, so they can run in the CI of this PR. The build steps of build-and-test.yaml run only when a .cpp or .hpp file changes, so they are skipped here.

Notes for reviewers

None.

Post-merge checklists

AI usage

AI usage: Written with Claude Code in Breeze. Claude Code changed the runner labels with a script by the rules above, then checked each changed line in the diff.

Self-review: One review round by a separate AI session with a clean context, on 9310fc5. It found that the Humble row cannot run on ubuntu-24.04 and that the CI of this PR cannot show it, so a new commit keeps that row on ubuntu-22.04. The last commit is 8f6436c.

Verification: pre-commit ran on the changed files with exit code 0; no hook applies to YAML. No workflow ran.

pre-commit run --files <the changed files>

  • Exit code 0. All hooks printed Skipped.
  • Did not run: the changed workflows, because they run only on GitHub Actions.

pre-commit run --files .github/workflows/build-and-test.yaml on 8f6436c

  • Exit code 0. All hooks printed Skipped.
  • Did not run: the Humble and Jazzy builds, because they run only on GitHub Actions and only when C++ files change.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
ROS 2 Humble has no binary packages for Ubuntu 24.04.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@xmfcx

xmfcx commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

Kept the Humble row of the build matrix on ubuntu-22.04. ROS 2 Humble has no binary packages for Ubuntu 24.04, and the build steps of this PR are skipped because no C++ file changes, so CI could not show the break.

@xmfcx
xmfcx marked this pull request as ready for review October 20, 2026 07:40
@xmfcx
xmfcx merged commit 06713ba into autowarefoundation:main Oct 27, 2026
5 checks passed
@xmfcx
xmfcx deleted the ci-ubuntu-24-04-runners branch October 27, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants