File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-latest
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ zig-version : ["0.12.1", "0.13.0", "master"]
18
+ os : [ubuntu-latest]
19
+
20
+ runs-on : ${{ matrix.os }}
15
21
16
22
steps :
17
23
- name : Check out repository
18
24
uses : actions/checkout@v4
25
+
19
26
- name : Set up Zig
20
27
uses : mlugg/setup-zig@v1
28
+ with :
29
+ version : ${{ matrix.zig-version }}
30
+
21
31
- name : Run `build`
22
- run : zig build
32
+ run : zig build --summary all
Original file line number Diff line number Diff line change 1
1
.{
2
2
.name = "json-c" ,
3
3
.version = "0.17.0" ,
4
+ .minimum_zig_version = "0.12.0" ,
4
5
.dependencies = .{
5
6
.upstream = .{
6
7
.url = "git+https://github.com/json-c/json-c?ref=json-c-0.17-20230812#b4c371fa0cbc4dcbaccc359ce9e957a22988fb34" ,
10
11
.paths = .{
11
12
"build.zig" ,
12
13
"build.zig.zon" ,
14
+ "LICENSE" ,
13
15
"README.md" ,
14
16
},
15
17
}
You can’t perform that action at this time.
0 commit comments