Skip to content

Add back support for Zig 0.11.0 (stable), update CI #98

Add back support for Zig 0.11.0 (stable), update CI

Add back support for Zig 0.11.0 (stable), update CI #98

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, windows-latest]
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