File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed
Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : amd64 MacOS Zig
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run :
7+ strategy :
8+ matrix :
9+ target :
10+ - x86_64-macos-none
11+ runs-on : macos-13 # Using x86 processors
12+ steps :
13+ - uses : actions/checkout@v5
14+ - uses : mlugg/setup-zig@v2
15+ with :
16+ version : latest
17+ - name : Build
18+ run : zig build -Dtarget=${{ matrix.target }}
19+ - name : Run list_cpu_features
20+ run : ./zig-out/bin/list_cpu_features --json
Original file line number Diff line number Diff line change 1+ name : amd64 Windows Zig
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run :
7+ strategy :
8+ matrix :
9+ target :
10+ - x86_64-windows-gnu
11+ runs-on : windows-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - uses : mlugg/setup-zig@v2
15+ with :
16+ version : latest
17+ - name : Build
18+ run : zig build -Dtarget=${{ matrix.target }}
19+ - name : Run list_cpu_features
20+ run : .\zig-out\bin\list_cpu_features.exe --json
Original file line number Diff line number Diff line change 1+ name : Arm64 MacOS Zig
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run :
7+ strategy :
8+ matrix :
9+ target :
10+ - aarch64-macos-none
11+ runs-on : macos-latest # Using M1 processors
12+ steps :
13+ - uses : actions/checkout@v5
14+ - uses : mlugg/setup-zig@v2
15+ with :
16+ version : latest
17+ - name : Build
18+ run : zig build -Dtarget=${{ matrix.target }}
19+ - name : Run list_cpu_features
20+ run : ./zig-out/bin/list_cpu_features --json
You can’t perform that action at this time.
0 commit comments