Skip to content

Commit

Permalink
ci: on windows, use bash to run the full test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Nov 16, 2022
1 parent 855aea4 commit f0bf5d6
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,8 @@ jobs:
with:
name: generic-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem -- --${{matrix.sys}}-system-libraries
gem list -d nokogiri
nokogiri -v
- run: ./scripts/test-gem-install gems --${{matrix.sys}}-system-libraries
shell: bash

generic-windows-install-ucrt:
needs: ["generic-package"]
Expand All @@ -483,10 +481,8 @@ jobs:
with:
name: generic-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem -- --${{matrix.sys}}-system-libraries
gem list -d nokogiri
nokogiri -v
- run: ./scripts/test-gem-install gems --${{matrix.sys}}-system-libraries
shell: bash

cruby-package:
needs: ["rcd_image_version"]
Expand Down Expand Up @@ -654,17 +650,18 @@ jobs:
ruby: ["2.6", "2.7", "3.0"]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v3
with:
name: cruby-x64-mingw32-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem
gem list -d nokogiri
nokogiri -v
- run: ./scripts/test-gem-install gems
shell: bash

cruby-x64-mingw-ucrt-install:
needs: ["cruby-package"]
Expand All @@ -674,17 +671,18 @@ jobs:
ruby: ["3.1"]
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v3
with:
name: cruby-x64-mingw-ucrt-gem
path: gems
- run: |
gem install --verbose --no-document gems/*.gem
gem list -d nokogiri
nokogiri -v
- run: ./scripts/test-gem-install gems
shell: bash

jruby-package:
needs: ["rcd_image_version"]
Expand Down

0 comments on commit f0bf5d6

Please sign in to comment.