File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ zig-version : [0.13.0, master]
18+ os : [ubuntu-latest, macos-latest, windows-latest]
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - name : Setup Linux
25+ if : runner.os == 'Linux'
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install libgles-dev libpulse-dev libxext-dev
29+
30+ - name : Setup Zig
31+ uses : mlugg/setup-zig@v1
32+ with :
33+ version : ${{ matrix.zig-version }}
34+
35+ - name : Check Formatting
36+ run : zig fmt --ast-check --check .
37+
38+ - name : Build
39+ run : zig build --summary all
You can’t perform that action at this time.
0 commit comments