torque 3769759890
Some checks are pending
CI / build (-Dbuild-tests -Dbuild-benchmarks, true, ubuntu-latest, master) (push) Waiting to run
CI / build (macos-latest, 0.13.0) (push) Waiting to run
CI / build (ubuntu-latest, 0.13.0) (push) Waiting to run
CI / build (windows-latest, 0.13.0) (push) Waiting to run
init
2025-02-04 00:04:54 -07:00

38 lines
822 B
YAML

name: CI
on:
push:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: ["0.13.0"]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- zig-version: "master"
check-format: true
os: ubuntu-latest
build-options: "-Dbuild-tests -Dbuild-benchmarks"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
- if: ${{ matrix.check-format }}
name: Check Formatting
run: zig fmt --check .
- name: Build
run: zig build ${{ matrix.build-options }} --summary all