We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d4d3c commit bb84f42Copy full SHA for bb84f42
.github/workflows/ci.yaml
@@ -0,0 +1,37 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main, v2]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build:
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ zig-version: [0.14.0]
16
+ os: [ubuntu-latest, macos-latest, windows-latest]
17
+ runs-on: ${{ matrix.os }}
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Setup Linux
23
+ if: runner.os == 'Linux'
24
+ run: |
25
+ sudo apt-get update
26
+ sudo apt-get install libgles-dev libpulse-dev libxext-dev
27
28
+ - name: Setup Zig
29
+ uses: mlugg/setup-zig@v1
30
+ with:
31
+ version: ${{ matrix.zig-version }}
32
33
+ - name: Check Formatting
34
+ run: zig fmt --ast-check --check .
35
36
+ - name: Build
37
+ run: zig build --summary all
0 commit comments