mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-12 13:00:47 -05:00
split in windows and uses PowerShell
This commit is contained in:
parent
f83fe12dce
commit
dcd16044f4
1 changed files with 20 additions and 2 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue