aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2021-05-21 09:55:25 +0200
committerLibravatar GitHub2021-05-21 09:55:25 +0200
commit9b1e6b70acb22369706eef503823efb2d126fe1e (patch)
tree96142a71aef8207276b2218cdd4afaeb12f56828
parent781d9716c63026f825f7a2d803abd8278c7a6ae8 (diff)
downloadzig-nkeys-9b1e6b70acb22369706eef503823efb2d126fe1e.tar.gz
zig-nkeys-9b1e6b70acb22369706eef503823efb2d126fe1e.zip
Add GitHub Actions config
-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