Skip to content

Commit 0803c3c

Browse files
committed
Add CI script running build and test
1 parent e1f0c53 commit 0803c3c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/zig.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI - Zig
2+
3+
on:
4+
create:
5+
push:
6+
branches: main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ci-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: mlugg/setup-zig@v2
20+
with:
21+
version: 0.14.0
22+
- run: zig build
23+
- run: zig build test

0 commit comments

Comments
 (0)