Skip to content

Commit

Permalink
ci: test Ruby 3.1 native gem installation
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 4, 2022
1 parent fb5aa23 commit b2edee8
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/gem-install.yml
Expand Up @@ -132,7 +132,7 @@ jobs:
strategy:
fail-fast: false
matrix:
plat: ["x86_64-linux", "x86_64-darwin", "x64-mingw32"]
plat: ["x86_64-linux", "x86_64-darwin", "x64-mingw32", "x64-mingw-ucrt"]
runs-on: ubuntu-latest
container:
image: "larskanis/rake-compiler-dock-mri-${{matrix.plat}}:1.1.0"
Expand All @@ -156,7 +156,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0"]
ruby: ["2.6", "2.7", "3.0", "3.1"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0"]
ruby: ["2.6", "2.7", "3.0", "3.1"]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -228,6 +228,26 @@ jobs:
gem list -d nokogiri
nokogiri -v
cruby-x64-mingw-ucrt-install:
needs: ["cruby-native-package"]
strategy:
fail-fast: false
matrix:
ruby: ["3.1"]
runs-on: windows-2022
steps:
- uses: MSP-Greg/setup-ruby-pkgs@win-ucrt-2
with:
ruby-version: "${{matrix.ruby}}"
setup-ruby-ref: MSP-Greg/ruby-setup-ruby/win-ucrt-1
- uses: actions/download-artifact@v2
with:
name: cruby-x64-mingw-ucrt-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem
gem list -d nokogiri
nokogiri -v
jruby-package:
name: "jruby-package"
Expand Down

0 comments on commit b2edee8

Please sign in to comment.