From 9b1e6b70acb22369706eef503823efb2d126fe1e Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Fri, 21 May 2021 09:55:25 +0200 Subject: Add GitHub Actions config --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml (limited to '.github/workflows/main.yml') 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 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install the latest Zig version + run: sudo snap install zig --classic --edge + + - uses: actions/checkout@v2 + + - name: Run library tests + run: zig build test + + - name: Run znk tests + run: zib build test-znk -- cgit v1.2.3