summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml34
1 files changed, 18 insertions, 16 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 89b2443..1e11460 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -8,20 +8,22 @@ jobs:
strategy:
fail-fast: false
matrix:
- ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
+ ruby: [ mingw, mswin, 2.7, 2.6, 2.5, 2.4 ]
steps:
- - uses: actions/checkout@master
- - name: Set up Ruby
- uses: actions/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- - name: Update MSYS2
- uses: MSP-Greg/msys2-action@master
- with:
- base: update
- - name: Install dependencies
- run: |
- gem update --system --no-document --conservative
- bundle install
- - name: Run test
- run: rake
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: MSP-Greg/actions-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ base: update
+ - name: Install dependencies
+ run: bundle install
+ - name: Run test
+ if: matrix.ruby != 'mswin'
+ run: rake
+ - name: Run test
+ if: matrix.ruby == 'mswin'
+ shell: cmd
+ run: |
+ call "%VCVARS%"
+ rake