split in windows and uses PowerShell

This commit is contained in:
Chris Boesch 2023-04-28 11:03:24 +00:00 committed by GitHub
parent f83fe12dce
commit dcd16044f4

View file

@ -29,10 +29,10 @@ jobs:
run: ci/compat.sh run: ci/compat.sh
test: test:
name: Unit Test name: Unit Tests
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
@ -46,3 +46,21 @@ jobs:
- name: Run unit tests - name: Run unit tests
run: zig build test run: zig build test
name: Unit Test Windows
strategy:
matrix:
runs-on: windows-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: Run unit tests
run: zig build test
shell: pwsh