Skip to content

Commit

Permalink
feat(ci): add more platform tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mookums committed Dec 25, 2024
1 parent eced8cb commit dd75ff8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build
on:
push:
pull_request:
branches: [ main ]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Build all examples
run: zig build
8 changes: 4 additions & 4 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: unit-test
name: unit-test
on:
push:
pull_request:
branches: [ main ]

jobs:
build:
test:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Unit Test
- name: Build all examples
run: zig build test --summary all

0 comments on commit dd75ff8

Please sign in to comment.