Skip to content

Commit 86616d2

Browse files
committed
update workflow
1 parent 21f1548 commit 86616d2

1 file changed

Lines changed: 11 additions & 18 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
name: Build
1+
name: CI Build
22

33
on:
44
push:
55
branches: [main]
6-
76
pull_request:
87
branches: [main]
9-
108
workflow_dispatch:
119

1210
jobs:
1311
build:
14-
runs-on: ubuntu-latest
15-
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [windows-latest, ubuntu-latest, macos-latest]
16+
runs-on: ${{ matrix.os }}
1617
steps:
17-
- name: Check out repository
18-
uses: actions/checkout@v4
19-
20-
- name: Set up LLVM and Clang
21-
run: |
22-
sudo apt-get update
23-
sudo apt-get install -y lld llvm llvm-dev clang
24-
25-
- name: Set up Zig
26-
uses: mlugg/setup-zig@v1
27-
28-
- name: Run `build`
29-
run: zig build
18+
- uses: actions/checkout@v4
19+
- uses: mlugg/setup-zig@v2
20+
with:
21+
version: "0.15.2"
22+
- run: zig build sample --summary all

0 commit comments

Comments
 (0)