Skip to content

Commit

Permalink
ci: Test with more Ruby versions and make install script consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
stanhu committed Jul 22, 2023
1 parent 0bec72c commit 43e2d36
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/precompiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,44 +107,40 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.0"]
ruby: ["2.7", "3.0"]
sys: ["enable", "disable"]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v2
with:
name: cruby-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem
gem list -d re2
ruby -r re2 -e "puts RE2::Regexp.new('(\\d+)').match('bob 123')"
- run: ./scripts/test-gem-install gems
shell: bash

cruby-windows-install-ucrt:
needs: ["cruby-package"]
strategy:
fail-fast: false
matrix:
ruby: ["3.2"]
ruby: ["3.1", "3.2"]
sys: ["enable", "disable"]
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v2
with:
name: cruby-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem
gem list -d re2
ruby -r re2 -e "puts RE2::Regexp.new('(\\d+)').match('bob 123')"
- run: ./scripts/test-gem-install gems
shell: bash

cruby-native-package:
needs: ["rcd_image_version"]
Expand Down

0 comments on commit 43e2d36

Please sign in to comment.