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:
|
2020-02-17 14:03:12 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-02-17 14:16:07 +00:00
|
|
|
- uses: goto-bus-stop/standard-action@v1
|
2019-10-05 13:19:06 +00:00
|
|
|
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]
|
2020-02-01 18:01:44 +00:00
|
|
|
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:
|
2020-02-17 14:03:12 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-02-01 18:11:05 +00:00
|
|
|
- uses: goto-bus-stop/setup-zig@default
|
2019-10-05 10:57:26 +00:00
|
|
|
with:
|
2020-02-01 18:01:44 +00:00
|
|
|
version: ${{matrix.zig-version}}
|
|
|
|
- run: zig build test
|
2019-10-05 10:54:14 +00:00
|
|
|
working-directory: test
|