File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-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-x86_64-linux-0.14.1.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
26+ - name : build
27+ run : zig build
28+ x86_64-macos :
29+ runs-on : macos-13
30+ # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
31+ # to the branch.
32+ if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v2
36+ - name : Setup Zig
37+ run : |
38+ brew install xz
39+ sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-x86_64-macos-0.14.1.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
40+ - name : build
41+ run : zig build
You can’t perform that action at this time.
0 commit comments