blob: 1e114606304e15154ff62ba932f270307e92e3c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
name: windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
ruby: [ mingw, mswin, 2.7, 2.6, 2.5, 2.4 ]
steps:
- 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
|