-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Quaint-Studios/zig-migration
Zig migration
- Loading branch information
Showing
67 changed files
with
454 additions
and
5,830 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Sustenet (Zig) | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
env: | ||
VERSION: 0.13.0 | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
with: | ||
version: ${{env.VERSION}} | ||
- run: zig build test | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
with: | ||
version: ${{env.VERSION}} | ||
- run: zig fmt --check . | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
with: | ||
version: ${{env.VERSION}} | ||
- run: zig build |
Oops, something went wrong.