Antoine 43595de12d
Some checks failed
CI / build (-Dbuild-apps, true, ubuntu-latest, 0.14.1) (push) Has been cancelled
CI / build (macos-latest, 0.14.1) (push) Has been cancelled
CI / build (ubuntu-latest, master) (push) Has been cancelled
CI / build (windows-latest, 0.14.1) (push) Has been cancelled
build: support 0.15.0-dev
addStaticLibrary -> addLibrary
target and optimize are now in a module
2025-07-24 23:11:50 +02:00

42 lines
865 B
YAML

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