From 0dbf11e0f380dcc3824f7f0bc2a32055d631d037 Mon Sep 17 00:00:00 2001 From: Meghan Date: Wed, 14 Jul 2021 01:31:41 -0700 Subject: [PATCH] add GitHub actions script for pr and regular master CI --- .github/workflows/nightly.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000000000000000000000000000000000000..2df41fe6844018785b8e93b82830272403d7e0a8 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,40 @@ +name: Continuous Build + +on: + pull_request: + branches: [master] + schedule: + - cron: "0 5 * * *" + +jobs: + native-build: + strategy: + fail-fast: false + matrix: + host: + [ + ubuntu-latest, + macos-latest, + windows-latest, + ] + + runs-on: ${{matrix.host}} + + steps: + - uses: actions/checkout@v2 + with: + submodules: "recursive" + + - name: Setup Zig + uses: goto-bus-stop/setup-zig@v1 + with: + version: master + + - name: Bootstrap Build + run: zig build -Dbootstrap + + - name: Fetch + run: ./zig-out/bin/zigmod ci + + - name: Full Build + run: zig build -- 2.54.0