Skip to content

Commit 28b3e6c

Browse files
committed
chore(ci): combine into one workflow
1 parent dd75ff8 commit 28b3e6c

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: build
1+
name: build
22
on:
33
push:
44
pull_request:
55
branches: [ main ]
66

77
jobs:
8-
test:
8+
build-examples:
9+
name: Build Examples
910
strategy:
1011
matrix:
1112
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -18,3 +19,19 @@ jobs:
1819
version: 0.13.0
1920
- name: Build all examples
2021
run: zig build
22+
23+
run-tests:
24+
name: Run Tests
25+
needs: build-examples
26+
strategy:
27+
matrix:
28+
os: [ubuntu-latest, macos-latest, windows-latest]
29+
runs-on: ${{ matrix.os }}
30+
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: goto-bus-stop/setup-zig@v2
34+
with:
35+
version: 0.13.0
36+
- name: Build all examples
37+
run: zig build test --summary all

.github/workflows/unit-test.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)