summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2020-12-22 15:21:08 +0100
committerGravatar Vincent Rischmann2020-12-22 15:21:08 +0100
commit22d747d9c18682659af3b0f06c8672e3a8e9d577 (patch)
tree8acd3a285fb7676344ebaef24cbc3ea5f0770744 /.github/workflows/main.yml
parentMerge branch 'document-iterator' (diff)
downloadzig-sqlite-22d747d9c18682659af3b0f06c8672e3a8e9d577.tar.gz
zig-sqlite-22d747d9c18682659af3b0f06c8672e3a8e9d577.tar.xz
zig-sqlite-22d747d9c18682659af3b0f06c8672e3a8e9d577.zip
add the github workflow
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..6232e50
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,30 @@
1name: CI
2
3on:
4 push:
5 paths:
6 - '**.zig'
7 pull_request:
8 paths:
9 - '**.zig'
10 workflow_dispatch:
11
12jobs:
13 build:
14 strategy:
15 matrix:
16 os: [ubuntu-latest, macos-latest, windows-latest]
17 runs-on: ${{ matrix.os }}
18 steps:
19 - uses: actions/checkout@v2
20 with:
21 submodules: true
22 - uses: goto-bus-stop/setup-zig@v1
23 with:
24 version: master
25
26 - name: Build
27 run: zig build
28
29 - name: Run Tests
30 run: zig build test