Skip to content

Commit 10952a6

Browse files
committed
Merge pull request #4 from savi-lang/add/windows
Add `windows-latest` to CI `library-check` / `spec` job.
2 parents 885c785 + 2f7e364 commit 10952a6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/library-check.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,19 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
os: [ubuntu-latest, macos-latest]
28-
runs-on: ${{matrix.os}}
27+
include:
28+
- { os: ubuntu-latest, shell: bash }
29+
- { os: macos-latest, shell: bash }
30+
- { os: windows-latest, shell: 'wsl-bash {0}' }
31+
runs-on: ${{ matrix.os }}
32+
defaults:
33+
run:
34+
shell: ${{ matrix.shell }}
2935
steps:
3036
- uses: actions/checkout@v2
31-
- uses: savi-lang/action-install@v1.0.0
37+
- uses: savi-lang/action-install@v1.1.0
3238
- run: savi deps update --for spec
33-
- run: savi run spec
39+
- run: savi run spec ${{ runner.os == 'Windows' && '--cross-compile=x86_64-unknown-windows-msvc' || '' }}
3440

3541
# Check formatting of all files in the repository.
3642
format:

0 commit comments

Comments
 (0)