We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5aca8a commit acc0dabCopy full SHA for acc0dab
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+on:
3
+ push:
4
+ paths:
5
+ - '**.zig'
6
+ pull_request:
7
8
9
+
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v1
15
+ - name: install software
16
+ run: |
17
+ ZIG=$(wget --quiet --output-document=- https://ziglang.org/download/index.json | jq --raw-output '.master."x86_64-linux".tarball')
18
+ echo installing $ZIG into ./zig/
19
+ wget --quiet --output-document=- $ZIG | tar Jx
20
+ mv zig-linux-x86_64-* zig
21
+ echo zig version $(./zig/zig version)
22
+ git submodule update --init --recursive
23
+ - name: build
24
25
+ export PATH=./zig:$PATH
26
+ zig build test
0 commit comments