setup-zig/.github/workflows/ci.yml
2020-02-17 15:16:07 +01:00

27 lines
627 B
YAML

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/standard-action@v1
with:
annotate: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
smoke-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
zig-version: [0.5.0, master]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@default
with:
version: ${{matrix.zig-version}}
- run: zig build test
working-directory: test