From d7eca3991f0f38121a4e40831e548d8802fa6b1a Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 9 Apr 2024 21:02:37 +0800 Subject: [PATCH] ci: fixed protobuf and abseil versions (#2596) * ci: fixed protobuf and abseil versions * ci: ignore dependencies --- .github/workflows/ci-macos.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index c23885d592..685d4e6b00 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -65,7 +65,12 @@ jobs: - name: install dependences run: | - brew install protobuf openssl gnu-getopt coreutils gflags leveldb + brew install openssl gnu-getopt coreutils gflags leveldb + # abseil 20230125.3 + curl -o abseil.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/1e04597501b3096952608efcb13301119a830b35/Formula/abseil.rb + # protobuf 22.5 + curl -o protobuf.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/1e04597501b3096952608efcb13301119a830b35/Formula/protobuf.rb + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --formula --ignore-dependencies ./abseil.rb ./protobuf.rb - name: config_brpc run: | @@ -85,7 +90,12 @@ jobs: - name: install dependences run: | - brew install protobuf openssl gflags leveldb + brew install openssl gflags leveldb + # abseil 20230125.3 + curl -o abseil.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/1e04597501b3096952608efcb13301119a830b35/Formula/abseil.rb + # protobuf 22.5 + curl -o protobuf.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/1e04597501b3096952608efcb13301119a830b35/Formula/protobuf.rb + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --formula --ignore-dependencies ./abseil.rb ./protobuf.rb - name: cmake run: |