Skip to content

Commit

Permalink
integrate, continuously
Browse files Browse the repository at this point in the history
  • Loading branch information
torque committed Sep 15, 2024
1 parent afaedcb commit 48b7e2e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
branches:
- master
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: "0.12.1"
os: ubuntu-latest
- zig-version: "master"
check-format: true
os: ubuntu-latest
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 --ast-check --check .

- name: Build
run: zig build --summary all

0 comments on commit 48b7e2e

Please sign in to comment.