setup-zig/.github/workflows/ci.yml

27 lines
631 B
YAML
Raw Normal View History

2019-10-05 10:54:14 +00:00
name: CI
2019-10-05 10:56:30 +00:00
on: push
2019-10-05 10:54:14 +00:00
jobs:
2019-10-05 13:19:06 +00:00
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: goto-bus-stop/standard-action@v1.0.0
with:
annotate: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2019-10-05 10:54:14 +00:00
smoke-test:
2019-10-05 10:58:19 +00:00
strategy:
matrix:
2019-10-05 11:01:01 +00:00
os: [ubuntu-latest, macos-latest, windows-latest]
zig-version: [0.5.0, master]
2019-10-05 11:01:01 +00:00
runs-on: ${{matrix.os}}
2019-10-05 10:54:14 +00:00
steps:
- uses: actions/checkout@v1
2020-02-01 18:11:05 +00:00
- uses: goto-bus-stop/setup-zig@default
2019-10-05 10:57:26 +00:00
with:
version: ${{matrix.zig-version}}
- run: zig build test
2019-10-05 10:54:14 +00:00
working-directory: test