setup-zig/.github/workflows/ci.yml
Renée Kooi bd0d3f0ae3
Actually support downloading Zig version: master (#5)
* Fix extracted folder name

* ci: also test with zig master

* fix lint

* fail on error

* debug

* other debug 😂

* console.log

* lol apply the change

* yadda

* wtf

* fuck

* ????

* xauuaoethosnuhtnohqsn

* siiiiiigh

* just use stderr lol whatever

* ditch debugging

* use test
2020-02-01 19:01:44 +01:00

27 lines
629 B
YAML

name: CI
on: push
jobs:
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}}
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@v1
- uses: goto-bus-stop/setup-zig@fix-4
with:
version: ${{matrix.zig-version}}
- run: zig build test
working-directory: test