Skip to content

const where possible #107

const where possible

const where possible #107

Workflow file for this run

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