File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
2+
23on :
34 push :
45 paths :
56 - ' **.zig'
67 pull_request :
78 paths :
89 - ' **.zig'
10+ schedule :
11+ - cron : ' 0 0 * * *'
912
1013jobs :
11- build :
12- runs-on : ubuntu-latest
14+ test :
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ runs-on : ${{ matrix.os }}
1319 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- run : |
25- export PATH=./zig:$PATH
26- zig build test
20+ - uses : actions/checkout@v2
21+ with :
22+ submodules : true
23+ - uses : goto-bus-stop/setup-zig@v1
24+ with :
25+ version : master
26+ - name : Build
27+ run : zig build test
You can’t perform that action at this time.
0 commit comments