diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-02-15 23:13:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 23:13:45 -0800 |
commit | bc7266c5ce51b170c107011c712f97b4dc8243a6 (patch) | |
tree | 4c7f6a3cd43aa21fbad79ec48ce21decf7fd7009 /.github/workflows | |
parent | 81752d20976f51381983dc58d924d63c697f69da (diff) |
Bump the required BASERUBY version to 3.0 (#9976)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/annocheck.yml | 5 | ||||
-rw-r--r-- | .github/workflows/baseruby.yml | 1 | ||||
-rw-r--r-- | .github/workflows/check_dependencies.yml | 5 | ||||
-rw-r--r-- | .github/workflows/mingw.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 5 | ||||
-rw-r--r-- | .github/workflows/wasm.yml | 5 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 2 | ||||
-rw-r--r-- | .github/workflows/yjit-ubuntu.yml | 5 |
8 files changed, 27 insertions, 3 deletions
diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index 89a07ac98a..c8beaef80d 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -72,6 +72,11 @@ jobs: builddir: build makeup: true + - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + with: + ruby-version: '3.0' + bundler: none + # Minimal flags to pass the check. # -g0 disables backtraces when SEGV. Do not set that. - name: Run configure diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index 2fac7c4dc9..b3d43e9bb3 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -43,7 +43,6 @@ jobs: strategy: matrix: ruby: - - ruby-2.7 - ruby-3.0 - ruby-3.1 - ruby-3.2 diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index 5d36d44059..230d45f342 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -53,6 +53,11 @@ jobs: - uses: ./.github/actions/setup/directories + - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + with: + ruby-version: '3.0' + bundler: none + - name: Run configure run: ./configure -C --disable-install-doc --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g' diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index c17422a17b..635279a20c 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -49,7 +49,7 @@ jobs: include: # To mitigate flakiness of MinGW CI, we test only one runtime that newer MSYS2 uses. - msystem: 'UCRT64' - baseruby: '2.7' + baseruby: '3.0' test_task: 'check' test-all-opts: '--name=!/TestObjSpace#test_reachable_objects_during_iteration/' fail-fast: false diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 3617a33b5c..2a9c755146 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -70,6 +70,11 @@ jobs: makeup: true dummy-files: ${{ matrix.test_task == 'check' }} + - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + with: + ruby-version: '3.0' + bundler: none + - name: Run configure env: arch: ${{ matrix.arch }} diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index e066463c54..ac49cf4c4e 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -98,6 +98,11 @@ jobs: run: | echo "WASI_SDK_PATH=/opt/wasi-sdk" >> $GITHUB_ENV + - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + with: + ruby-version: '3.0' + bundler: none + - name: Build baseruby run: | set -ex diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 311f154461..901b5df8f4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -91,7 +91,7 @@ jobs: - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 with: - ruby-version: '2.7' + ruby-version: '3.0' bundler: none windows-toolchain: none diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index 09bae021bd..6354c39084 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -141,6 +141,11 @@ jobs: if: ${{ matrix.rust_version }} run: rustup install ${{ matrix.rust_version }} --profile minimal + - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + with: + ruby-version: '3.0' + bundler: none + - name: Run configure run: ../src/configure -C --disable-install-doc --prefix=$(pwd)/install ${{ matrix.configure }} |