2023-10-08 13:59:20 +00:00
|
|
|
name: Zig CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2024-03-22 17:15:06 +00:00
|
|
|
concurrency:
|
2024-04-04 16:30:53 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
2024-03-22 17:15:06 +00:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-10-08 13:59:20 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
runs-on: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.runs-on }}
|
|
|
|
steps:
|
2024-04-03 18:01:13 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-10-08 13:59:20 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: goto-bus-stop/setup-zig@v2
|
|
|
|
with:
|
|
|
|
version: 0.11.0
|
|
|
|
- name: Build Summary
|
|
|
|
run: zig build --summary all -freference-trace
|