Skip to content

Commit 750043a

Browse files
authored
Merge pull request #10 from MyNameIsTrez/ci-tests
Let the CI run the tests
2 parents 1d1c65c + a2bf0ae commit 750043a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI Build
2+
3+
on: push
4+
5+
jobs:
6+
build-tests:
7+
name: tests
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Download Zig 0.12.0
14+
run: curl -LO https://ziglang.org/download/0.12.0/zig-windows-x86_64-0.12.0.zip
15+
16+
- name: Unzip Zig
17+
run: tar -xf zig-windows-x86_64-0.12.0.zip
18+
19+
- name: Run the tests
20+
run: zig-windows-x86_64-0.12.0\zig.exe test -freference-trace src/main.zig

0 commit comments

Comments
 (0)