aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..f83fb15
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,23 @@
1name: CI
2
3on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8 workflow_dispatch:
9
10jobs:
11 build:
12 runs-on: ubuntu-latest
13 steps:
14 - name: Install the latest Zig version
15 run: sudo snap install zig --classic --edge
16
17 - uses: actions/checkout@v2
18
19 - name: Run library tests
20 run: zig build test
21
22 - name: Run znk tests
23 run: zib build test-znk