fix: no-llvm doesn't emit assembly 2 #13
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
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
# schedule: [cron: "40 1 * * *"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
ZIG: master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ env.ZIG }} | |
- run: zig build --verbose --summary all --color on | |
- run: zig build test --verbose --summary all --color on | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ env.ZIG }} | |
- run: zig fmt --check ./ |