2023-10-08 15:59:20 +02:00
|
|
|
name: Zig CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2024-03-22 18:15:06 +01:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-10-08 15:59:20 +02: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 20:01:13 +02:00
|
|
|
- uses: actions/checkout@v4
|
2023-10-08 15:59:20 +02: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
|