-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (30 loc) · 731 Bytes
/
zig.yml
File metadata and controls
36 lines (30 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build on ${{ matrix.os }} with Zig ${{ matrix.zig_version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
- ubuntu-24.04-arm
zig_version: [ "master" ]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Zig
uses: mlugg/setup-zig@v2
with:
version: ${{ matrix.zig_version }}
- name: Build project
run: zig build
- name: Run tests
run: zig build test --summary all