Silence the Writergate #87
Workflow file for this run
This file contains hidden or 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: | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| zig-version: [master] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| include: | |
| - zig-version: "0.14.1" | |
| os: ubuntu-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: master | |
| - name: Run zig fmt | |
| if: matrix.os == 'ubuntu-latest' | |
| run: zig fmt --check . | |
| - name: Run Tests | |
| run: zig build test --summary all | |
| - name: Setup `wasmtime` | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: bytecodealliance/actions/wasmtime/setup@v1 | |
| - name: Print wasmtime version | |
| if: matrix.os == 'ubuntu-latest' | |
| run: "wasmtime --version" | |
| - name: Run Tests (wasm32-wasi) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: zig build test -Dtarget=wasm32-wasi -fwasmtime --summary all | |
| env: | |
| WASMTIME_BACKTRACE_DETAILS: 1 |