diff options
author | Rutger Broekhoff | 2021-05-21 09:55:25 +0200 |
---|---|---|
committer | GitHub | 2021-05-21 09:55:25 +0200 |
commit | 9b1e6b70acb22369706eef503823efb2d126fe1e (patch) | |
tree | 96142a71aef8207276b2218cdd4afaeb12f56828 /.github/workflows | |
parent | 781d9716c63026f825f7a2d803abd8278c7a6ae8 (diff) | |
download | zig-nkeys-9b1e6b70acb22369706eef503823efb2d126fe1e.tar.gz zig-nkeys-9b1e6b70acb22369706eef503823efb2d126fe1e.zip |
Add GitHub Actions config
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 23 |
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 @@ | |||
1 | name: CI | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | branches: [ master ] | ||
6 | pull_request: | ||
7 | branches: [ master ] | ||
8 | workflow_dispatch: | ||
9 | |||
10 | jobs: | ||
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 | ||