Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

unit-test:
name: "[smalruby3] Unit Tests (Ruby ${{ matrix.ruby }})"
runs-on: ubuntu-24.04 # magnus does not compile on 26.04 (#1391)
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gem-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:
jobs:
build-linux:
name: "Build gem (Linux / Ruby ${{ inputs.ruby-version || '3.4' }})"
runs-on: ubuntu-24.04 # magnus does not compile on 26.04 (#1391)
runs-on: ubuntu-26.04
defaults:
run:
working-directory: ruby/smalruby3
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
test:
name: "[smalruby3] Test before release"
runs-on: ubuntu-24.04 # magnus does not compile on 26.04 (#1391)
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -47,9 +47,7 @@ jobs:
release:
name: "[smalruby3] Publish to RubyGems"
needs: test
# Does not compile the native extensions (source gem only), but publish from the same
# image as `test`: this job runs only on a tag push, so 26.04 cannot be checked beforehand.
runs-on: ubuntu-24.04 # same image as `test` (#1391)
runs-on: ubuntu-26.04
environment: rubygems
defaults:
run:
Expand Down
6 changes: 2 additions & 4 deletions docs/maintenance/ci-runners.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ GitHub Actions の runner(`runs-on`)は **版を固定する**。`ubuntu-lat

## 例外(古い版に残しているジョブ)

| ジョブ | 版 | 理由 | 追跡 |
|---|---|---|---|
| `ci-ruby.yml` の `unit-test`、`gem-build-check.yml` の `build-linux`、`release-gem.yml` の `test` | `ubuntu-24.04` | smalruby3 gem のネイティブ拡張が使う `magnus` が 26.04 ではコンパイルできない(新しい libclang と `bindgen` 0.69 の組み合わせ) | #1391 |
| `release-gem.yml` の `release` | `ubuntu-24.04` | ネイティブ拡張はコンパイルしない(ソース gem を作って公開するだけ)。ただしタグ push でしか走らず 26.04 で事前に確かめられないので、`test` と同じ版で出す。`test` を 26.04 に上げるときに一緒に上げる | #1391 |
いまは無い(全ジョブが上の表の label で動く)。古い版に残すジョブができたら、ここに
「ジョブ / 版 / 理由 / 追跡 Issue」の表を作って載せる。

## なぜ固定するか

Expand Down
28 changes: 10 additions & 18 deletions ruby/smalruby3/ext/smalruby3_imageutil/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading