diff options
| author | 2019-10-06 17:15:18 +0200 | |
|---|---|---|
| committer | 2019-10-06 17:15:18 +0200 | |
| commit | 26323c6f1692c64305e61f2a2d95c6c6c0c7720e (patch) | |
| tree | 8b4fbc3749185d7e45978045ed872521306fed7f /.github/workflows | |
| parent | use emun literals (diff) | |
| download | zig-clap-26323c6f1692c64305e61f2a2d95c6c6c0c7720e.tar.gz zig-clap-26323c6f1692c64305e61f2a2d95c6c6c0c7720e.tar.xz zig-clap-26323c6f1692c64305e61f2a2d95c6c6c0c7720e.zip | |
Update main.yml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..93d00fc --- /dev/null +++ b/.github/workflows/main.yml | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | name: CI | ||
| 2 | on: push | ||
| 3 | jobs: | ||
| 4 | test: | ||
| 5 | strategy: | ||
| 6 | matrix: | ||
| 7 | os: [ubuntu-latest, macos-latest, windows-latest] | ||
| 8 | runs-on: ${{matrix.os}} | ||
| 9 | steps: | ||
| 10 | - uses: actions/checkout@v1 | ||
| 11 | with: | ||
| 12 | submodules: recursive | ||
| 13 | - uses: goto-bus-stop/setup-zig@v1.0.0 | ||
| 14 | with: | ||
| 15 | version: 0.5.0 | ||
| 16 | - run: zig build | ||
| 17 | lint: | ||
| 18 | runs-on: ubuntu-latest | ||
| 19 | steps: | ||
| 20 | - uses: actions/checkout@v1 | ||
| 21 | - uses: goto-bus-stop/setup-zig@v1.0.0 | ||
| 22 | with: | ||
| 23 | version: 0.5.0 | ||
| 24 | - run: zig fmt --check . | ||