Skip to content

Commit

Permalink
Latest Ruby 2 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpclark committed Dec 17, 2023
1 parent 6fad313 commit 9e232c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta]
ruby_version: ["2.5.9", "2.6.8", "2.7.4"]
ruby_version: ["2.5.9", "2.6.10", "2.7.8"]
ruby_static: [false, true]
exclude:
- os: windows-latest
Expand All @@ -44,7 +44,7 @@ jobs:
echo "RUNNER_OS=$(echo ${{ runner.os }})" >> $GITHUB_ENV
- name: Import RVM public keys
if: (runner.os != 'Windows') && (env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.4' && matrix.rust == 'stable' && matrix.ruby_static == false))
if: (runner.os != 'Windows') && (env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.8' && matrix.rust == 'stable' && matrix.ruby_static == false))
run: |
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
Expand All @@ -69,7 +69,7 @@ jobs:
cd ..
- name: Install RVM and Ruby
if: (runner.os != 'Windows') && (env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.4' && matrix.rust == 'stable' && matrix.ruby_static == false))
if: (runner.os != 'Windows') && (env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.8' && matrix.rust == 'stable' && matrix.ruby_static == false))
run: |
if [ "${{ matrix.ruby_static }}" == "true" ]; then
echo "RUBY_STATIC=true" >> $GITHUB_ENV
Expand Down Expand Up @@ -107,13 +107,13 @@ jobs:
rvm use "$BUILD_RUBY_VERSION"

- name: Setup Rust
if: env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.4' && matrix.rust == 'stable' && matrix.ruby_static == false)
if: env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.8' && matrix.rust == 'stable' && matrix.ruby_static == false)
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: Build and Test
if: env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.4' && matrix.rust == 'stable' && matrix.ruby_static == false)
if: env.TEST_ALL || (env.TEST_ALL == false && matrix.ruby_version == '2.7.8' && matrix.rust == 'stable' && matrix.ruby_static == false)
run: |
rvm reload
source "$HOME/.rvm/scripts/rvm"
Expand Down

0 comments on commit 9e232c8

Please sign in to comment.