Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ jobs:
cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
"${cmake_options[@]}"
cmake --build build -j ${{env.proc_num}}
cmake --build build --target cmake_link_checks -j ${{env.proc_num}}

- name: Show ccache statistics
if: always()
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:

- name: install dependences
run: |
brew install openssl gnu-getopt coreutils gflags leveldb protobuf@21
brew install openssl gnu-getopt coreutils gflags leveldb
# Homebrew disabled protobuf@21 on 2026-01-08 and removes disabled formulae one year
# after that date. Install it from a local tap holding homebrew-formula/protobuf@21.rb,
# the homebrew-core formula pinned to a commit and without its deprecate!/disable! lines.
brew tap-new --no-git local/pins
cp homebrew-formula/protobuf@21.rb "$(brew --repository local/pins)/Formula/"
brew install local/pins/protobuf@21

- name: compile with make
run: |
Expand All @@ -42,7 +48,9 @@ jobs:
run: |
echo "CMAKE_PREFIX_PATH=$(brew --prefix protobuf@21)"
mkdir build && cd build && cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DWITH_UBRING=ON -DCMAKE_PREFIX_PATH=$(brew --prefix protobuf@21) ..
make -j ${{env.proc_num}} && make clean
make -j ${{env.proc_num}}
cmake --build . --target cmake_link_checks -j ${{env.proc_num}}
make clean

- name: Show ccache statistics
if: always()
Expand Down Expand Up @@ -71,7 +79,9 @@ jobs:
- name: compile with cmake
run: |
mkdir build && cd build && cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DWITH_UBRING=ON -DCMAKE_PREFIX_PATH=$(brew --prefix protobuf@29) ..
make -j ${{env.proc_num}} && make clean
make -j ${{env.proc_num}}
cmake --build . --target cmake_link_checks -j ${{env.proc_num}}
make clean

- name: Show ccache statistics
if: always()
Expand Down
3 changes: 3 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,7 @@ header:
# bazel-central-registry
- 'registry/**'

# Homebrew (BSD 2-Clause)
- 'homebrew-formula/protobuf@21.rb'

comment: on-failure
1 change: 0 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ filegroup(
srcs = glob([
"src/brpc/*.proto",
"src/brpc/policy/*.proto",
"src/brpc/rdma/*.proto",
"src/brpc/urma/*.proto",
]),
visibility = ["//visibility:public"],
Expand Down
Loading
Loading