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]
|
|
|
|
runs-on: ${{matrix.os}}
|
2019-10-05 10:54:14 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-10-05 11:18:03 +00:00
|
|
|
- uses: goto-bus-stop/setup-zig@default
|
2019-10-05 10:57:26 +00:00
|
|
|
with:
|
2019-10-05 10:54:14 +00:00
|
|
|
version: 0.5.0
|
|
|
|
- run: zig run src/main.zig
|
|
|
|
working-directory: test
|