zig-args/.github/workflows/cross-build.yml

31 lines
541 B
YAML
Raw Permalink Normal View History

2021-01-04 18:37:36 +08:00
name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 5 * * *" # run at 5 AM UTC
jobs:
cross-build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1
with:
version: master
- name: Run the test suite
2021-01-04 18:37:36 +08:00
run: |
zig build test
2021-01-04 18:37:36 +08:00