Skip to content

Map any Ubuntu release generically and watch for new Ubuntu releases weekly - #10

Merged
d-date merged 2 commits into
mainfrom
generic-ubuntu-watch
Nov 8, 2026
Merged

d-date merged 2 commits into
mainfrom
generic-ubuntu-watch

Conversation

@d-date

@d-date d-date commented Nov 8, 2026

Copy link
Copy Markdown
Member

Supersedes #9, which was based on a stale main (Ubuntu 26.04 support already landed in #8).

Summary

  • plan-linux.sh derives swift.org platform names from any Ubuntu VERSION_ID (e.g. ubuntu2604 / ubuntu26.04) instead of a fixed list, so future Ubuntu releases work as soon as swift.org publishes them; releases without a build still fail at download with the URL tried, and non-Ubuntu distributions still fail with an explicit error.
  • install-linux.sh keeps the explicit GCC table (now including 20.04) and falls back to the distribution's default GCC for releases it does not list.
  • New .github/workflows/watch-linux.yml (weekly + manual): reads the latest release from swift.org's releases.json, intersects its Ubuntu platforms with GitHub-hosted runner labels, installs and runs hello world on each, and opens or comments on a "Latest Linux check failing" issue when a scheduled run fails.

Test plan

  • shellcheck, actionlint (local)
  • Discovery script run locally: finds Swift 6.4.2 on ubuntu-22.04/24.04/26.04 (+arm)
  • Generated 6.4.1 URLs for 22.04 and 26.04 return HTTP 200; Debian fails with a clear error
  • CI on this PR
  • Dispatch watch-linux.yml once after merge

🤖 Generated with Claude Code

d-date and others added 2 commits November 8, 2026 12:38
plan-linux.sh derives ubuntuNNNN / ubuntuNN.NN from VERSION_ID instead of a
fixed list, so new Ubuntu releases work once swift.org publishes them.
install-linux.sh falls back to the distribution default GCC for releases it
does not list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…u runners

Discovers the latest swift.org release and every Ubuntu version that both
swift.org and GitHub-hosted runners offer, installs and runs hello world on
each, and opens or updates a tracking issue when the scheduled run fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-date
d-date merged commit 1fbc61b into main Nov 8, 2026
34 checks passed
@d-date
d-date deleted the generic-ubuntu-watch branch November 8, 2026 03:44
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.

1 participant