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 54a35a6
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/precompiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.0"]
ruby: ["2.7", "3.0"]
sys: ["enable", "disable"]
runs-on: windows-latest
steps:
Expand All @@ -119,32 +119,28 @@ jobs:
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 54a35a6

Please sign in to comment.