Skip to content

Commit 398c0b1

Browse files
committed
bump boost-1.89.0
1 parent 78d6648 commit 398c0b1

File tree

5 files changed

+217
-203
lines changed

5 files changed

+217
-203
lines changed

.github/workflows/zig-ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Zig
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
47

58
jobs:
69
build:
@@ -24,13 +27,8 @@ jobs:
2427

2528
runs-on: ubuntu-latest
2629
steps:
27-
- uses: actions/checkout@v4
28-
with:
29-
submodules: recursive
30-
fetch-depth: 0
30+
- uses: actions/checkout@v5
3131
- uses: mlugg/setup-zig@v2
32-
with:
33-
version: master
3432
- name: Build Summary ${{ matrix.targets }}
3533
run: zig build --build-file $PWD/tests/build.zig --summary all -freference-trace -Dtarget=${{ matrix.targets }}
3634

@@ -39,9 +37,7 @@ jobs:
3937
strategy:
4038
fail-fast: false
4139
steps:
42-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4341
- uses: mlugg/setup-zig@v2
44-
with:
45-
version: master
4642
- name: Build Summary x86_64-windows-msvc
4743
run: zig build --build-file $PWD/tests/build.zig --summary all -freference-trace -Dtarget=native-windows-msvc

build.zig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
const std = @import("std");
22

3+
const boost_version: std.SemanticVersion = .{
4+
.major = 1,
5+
.minor = 89,
6+
.patch = 0,
7+
};
8+
39
const boost_libs = [_][]const u8{
410
"core",
511
"algorithm",
@@ -121,6 +127,8 @@ const boost_libs = [_][]const u8{
121127
"parser",
122128
"mqtt5", // need boost.asio
123129
"hash2",
130+
"tti",
131+
"bloom",
124132
};
125133

126134
pub fn build(b: *std.Build) void {
@@ -164,8 +172,6 @@ const cxxFlags: []const []const u8 = &.{
164172
"-Wformat",
165173
};
166174

167-
const boost_version: std.SemanticVersion = .{ .major = 1, .minor = 87, .patch = 0 };
168-
169175
pub fn boostLibraries(b: *std.Build, config: Config) *std.Build.Step.Compile {
170176
const shared = b.option(bool, "shared", "Build as shared library (default: false)") orelse false;
171177

0 commit comments

Comments
 (0)