anonymize a push #106
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: compile | |
on: | |
push: | |
branches: [core] | |
paths: ["**.zig", "**.dt", "src/inspiration", ".github/workflows/*.yml"] | |
pull_request: | |
branches: [core] | |
paths: ["**.zig", "**.dt", "src/inspiration", ".github/workflows/*.yml"] | |
jobs: | |
compile: | |
strategy: | |
matrix: | |
zig_version: [0.11.0, master] | |
os: [ubuntu-latest] | |
experimental: [false] | |
include: | |
- zig_version: 0.11.0 | |
os: windows-latest | |
experimental: true | |
- zig_version: master | |
os: windows-latest | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Zig | |
uses: goto-bus-stop/[email protected] | |
with: | |
version: ${{ matrix.zig_version }} | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: zig build | |
run: | | |
zig env | |
zig build | |
- name: zig build test | |
run: | | |
zig env | |
zig build test | |
- name: zig build cross | |
run: | | |
zig env | |
zig build cross |