Skip to content

Commit f0bf5d6

Browse files
committed
ci: on windows, use bash to run the full test scripts
1 parent 855aea4 commit f0bf5d6

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,8 @@ jobs:
459459
with:
460460
name: generic-gem
461461
path: gems
462-
- run: |
463-
gem install --verbose --no-document gems/*.gem -- --${{matrix.sys}}-system-libraries
464-
gem list -d nokogiri
465-
nokogiri -v
462+
- run: ./scripts/test-gem-install gems --${{matrix.sys}}-system-libraries
463+
shell: bash
466464

467465
generic-windows-install-ucrt:
468466
needs: ["generic-package"]
@@ -483,10 +481,8 @@ jobs:
483481
with:
484482
name: generic-gem
485483
path: gems
486-
- run: |
487-
gem install --verbose --no-document gems/*.gem -- --${{matrix.sys}}-system-libraries
488-
gem list -d nokogiri
489-
nokogiri -v
484+
- run: ./scripts/test-gem-install gems --${{matrix.sys}}-system-libraries
485+
shell: bash
490486

491487
cruby-package:
492488
needs: ["rcd_image_version"]
@@ -654,17 +650,18 @@ jobs:
654650
ruby: ["2.6", "2.7", "3.0"]
655651
runs-on: windows-latest
656652
steps:
653+
- uses: actions/checkout@v2
654+
with:
655+
submodules: true
657656
- uses: ruby/setup-ruby@v1
658657
with:
659658
ruby-version: "${{matrix.ruby}}"
660659
- uses: actions/download-artifact@v3
661660
with:
662661
name: cruby-x64-mingw32-gem
663662
path: gems
664-
- run: |
665-
gem install --verbose --no-document gems/*.gem
666-
gem list -d nokogiri
667-
nokogiri -v
663+
- run: ./scripts/test-gem-install gems
664+
shell: bash
668665

669666
cruby-x64-mingw-ucrt-install:
670667
needs: ["cruby-package"]
@@ -674,17 +671,18 @@ jobs:
674671
ruby: ["3.1"]
675672
runs-on: windows-2022
676673
steps:
674+
- uses: actions/checkout@v2
675+
with:
676+
submodules: true
677677
- uses: ruby/setup-ruby@v1
678678
with:
679679
ruby-version: "${{matrix.ruby}}"
680680
- uses: actions/download-artifact@v3
681681
with:
682682
name: cruby-x64-mingw-ucrt-gem
683683
path: gems
684-
- run: |
685-
gem install --verbose --no-document gems/*.gem
686-
gem list -d nokogiri
687-
nokogiri -v
684+
- run: ./scripts/test-gem-install gems
685+
shell: bash
688686

689687
jruby-package:
690688
needs: ["rcd_image_version"]

0 commit comments

Comments
 (0)