authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2021-07-14 01:31:41 -07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-07-14 01:31:41 -07:00
log0dbf11e0f380dcc3824f7f0bc2a32055d631d037
tree7438d281e3681e424fd27fd5d30908f042a55241
parent9cf5971c8e4d85e3bdce65496a183b85b53e423f
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

add GitHub actions script for pr and regular master CI


1 files changed, 40 insertions(+), 0 deletions(-)

.github/workflows/nightly.yml created+40
...@@ -0,0 +1,40 @@
1name: Continuous Build
2
3on:
4 pull_request:
5 branches: [master]
6 schedule:
7 - cron: "0 5 * * *"
8
9jobs:
10 native-build:
11 strategy:
12 fail-fast: false
13 matrix:
14 host:
15 [
16 ubuntu-latest,
17 macos-latest,
18 windows-latest,
19 ]
20
21 runs-on: ${{matrix.host}}
22
23 steps:
24 - uses: actions/checkout@v2
25 with:
26 submodules: "recursive"
27
28 - name: Setup Zig
29 uses: goto-bus-stop/setup-zig@v1
30 with:
31 version: master
32
33 - name: Bootstrap Build
34 run: zig build -Dbootstrap
35
36 - name: Fetch
37 run: ./zig-out/bin/zigmod ci
38
39 - name: Full Build
40 run: zig build