File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ paths-ignore :
5
+ - " README.md"
6
+ - " **.md"
7
+ - " LICENSE**"
8
+ pull_request :
9
+ paths-ignore :
10
+ - " README.md"
11
+ - " **.md"
12
+ - " LICENSE**"
13
+ jobs :
14
+ x86_64-linux :
15
+ runs-on : ubuntu-latest
16
+ # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
17
+ # to the branch.
18
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@v2
22
+ - name : Setup Zig
23
+ run : |
24
+ sudo apt install xz-utils
25
+ sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.14.0-dev.2577+271452d22.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
26
+ run : zig build
27
+ - name : test
28
+ run : zig build test
29
+ x86_64-macos :
30
+ runs-on : macos-13
31
+ # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
32
+ # to the branch.
33
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
34
+ steps :
35
+ - name : Checkout
36
+ uses : actions/checkout@v2
37
+ - name : Setup Zig
38
+ run : |
39
+ brew install xz
40
+ sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.14.0-dev.2577+271452d22.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
41
+ - name : build
42
+ run : zig build
43
+ - name : test
44
+ run : zig build test
You can’t perform that action at this time.
0 commit comments