Skip to content

Commit

Permalink
Add windows-latest to CI library-check / spec job.
Browse files Browse the repository at this point in the history
This enables testing of libraries on Windows.
  • Loading branch information
jemc committed May 13, 2022
1 parent 885c785 commit 2f7e364
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/library-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
include:
- { os: ubuntu-latest, shell: bash }
- { os: macos-latest, shell: bash }
- { os: windows-latest, shell: 'wsl-bash {0}' }
runs-on: ${{ matrix.os }}
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- uses: actions/checkout@v2
- uses: savi-lang/action-install@v1.0.0
- uses: savi-lang/action-install@v1.1.0
- run: savi deps update --for spec
- run: savi run spec
- run: savi run spec ${{ runner.os == 'Windows' && '--cross-compile=x86_64-unknown-windows-msvc' || '' }}

# Check formatting of all files in the repository.
format:
Expand Down

0 comments on commit 2f7e364

Please sign in to comment.