File tree Expand file tree Collapse file tree 3 files changed +39
-1
lines changed
Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ push :
5+ branches : [master]
6+
7+ pull_request :
8+ branches : [master]
9+
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ zig-version : ["master", "0.15.2"]
18+ os : [ubuntu-latest, macos-latest]
19+
20+ runs-on : ${{ matrix.os }}
21+
22+ steps :
23+ - name : Check out repository
24+ uses : actions/checkout@v6
25+ - name : Set up Zig
26+ uses : mlugg/setup-zig@v2
27+ with :
28+ version : ${{ matrix.zig-version }}
29+
30+ - name : Build dependencies
31+ run : zig build dependencies --summary all
32+ - name : Build libgrpc
33+ run : zig build --summary new
34+ - name : Build test programs
35+ run : zig build examples --summary new
36+ - name : Run tests
37+ run : zig build test --summary new
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ pub fn build(b: *Build) !void {
277277 mod .addCSourceFile (.{ .file = upstream .path ("test/core/config/core_configuration_test.cc" ), .flags = & cxx_flags });
278278 mod .addIncludePath (upstream .path ("src/core/ext/upb-gen" ));
279279 mod .addIncludePath (upstream .path ("src/core/ext/upbdefs-gen" ));
280+ mod .addIncludePath (upstream .path ("third_party/upb" ));
280281 tests .appendAssumeCapacity (.{ .name = "core_configuration" , .mod = mod });
281282 }
282283 {
Original file line number Diff line number Diff line change 22 .name = .grpc ,
33 .version = "1.76.0" ,
44 .fingerprint = 0x2b44e58c15cd55d6 ,
5- .minimum_zig_version = "0.14.1 " ,
5+ .minimum_zig_version = "0.15.0 " ,
66
77 .paths = .{
88 "build.zig" ,
You can’t perform that action at this time.
0 commit comments