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

27 lines
627 B
YAML
Raw Normal View History

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