chore(release): scope v1.2.2 artifacts to macos and linux #270
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: build | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: zig build (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-14, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.16.0 | |
| - name: Build | |
| shell: bash | |
| run: ./scripts/zig build | |
| - name: Assert zig build does not invoke cargo | |
| shell: bash | |
| run: ./scripts/assert-zig-build-no-cargo.sh | |
| - name: Version JSON | |
| shell: bash | |
| run: | | |
| ./zig-out/bin/orca version --json | |
| - name: Check Windows target from Unix runners | |
| if: runner.os != 'Windows' | |
| run: ./scripts/zig build check-windows | |
| - name: Check release artifact naming references | |
| shell: bash | |
| run: | | |
| grep -R "orca-v.*linux-amd64" scripts packaging .github/workflows | |
| grep -R "checksums.txt" scripts packaging .github/workflows |