Repository navigation
Build asan and asan-release on ubuntu-26.04 too - #25
Merged
Merged
Conversation
ubuntu-latest is moving to ubuntu-26.04, where setup-ruby fails with 404 for asan and asan-release. They were built only on ubuntu-24.04 because older Ubuntu releases had too old a clang (8cee0b2). clang on ubuntu-26.04 is clang 21, while it is clang 18 on ubuntu-24.04. Keep ubuntu-24.04 for workflows pinned to it. Fixes ruby/setup-ruby#960 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The latest release has no asan-release build for ubuntu-26.04, so reusing it would fail. Once a release with it is published, the check always passes and keeping it does no harm, but reverting this makes the code easier to follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
ubuntu-latestis moving toubuntu-26.04by 2026-11-19, whereruby/setup-rubyfails with 404 forasanandasan-release(ruby/setup-ruby#960).Detail
The first commit builds them on
ubuntu-26.04too. They were built only onubuntu-24.04because older Ubuntu releases had too old a clang (8cee0b2), butclangonubuntu-26.04is clang 21 (llvm-defaults 0.71), newer than clang 18 onubuntu-24.04.ubuntu-24.04is kept for workflows pinned to it.The second commit is needed only once: the latest release has no
asan-releaseforubuntu-26.04, so reusing it would fail until the next 4.0.x tag. It buildsasan-releasewhen that tarball is missing. Once the first release of this repository after merging is published (normally by the next scheduled run at 19:00 UTC), it hasasan-releaseforubuntu-26.04, and this commit should be reverted then to keep the code easy to follow, although keeping it does no harm.Additional notes
Tested on my fork:
asan-releaseis built on both OSes: https://github.com/yahonda/ruby-dev-builder/actions/runs/41009171896ubuntu-26.04tarballs work on a fresh runner: https://github.com/yahonda/ruby-dev-builder/actions/runs/40982510514clangonubuntu-26.04comes from llvm-defaults 0.71, which defaults to clang 21 since 0.64 (changelog).After this is released, the setup-ruby README note that
ruby-asanandasan-releaseare only available onubuntu-24.04can be updated.