Skip to content

Build

Build #1311

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 5 * * *" # run at 5 AM UTC
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12
- name: Build toolchain
run: |
zig build
- name: Build test suite
run: |
zig build test
- name: Build examples
run: |
zig build examples