Skip to content

Commit b3e2479

Browse files
committed
fix: macOS for grpico-tools
add openssl installation and flags to install grpcio-tools
1 parent 7048225 commit b3e2479

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/macos.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,23 @@ jobs:
2525
sudo mv bitcoin-${BITCOIND_VERSION}/bin/* /usr/local/bin
2626
rm -rf bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz bitcoin-${BITCOIND_VERSION}
2727
28+
- name: Set up Python 3.10
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: "3.10"
32+
2833
- name: Install uv
2934
uses: astral-sh/setup-uv@v5
3035

3136
- name: Install dependencies
3237
run: |
3338
export PATH="/usr/local/opt:/Users/runner/.local/bin:/opt/homebrew/bin/python3.10/bin:$PATH"
3439
35-
brew install gnu-sed [email protected] autoconf automake libtool protobuf
40+
brew install gnu-sed autoconf automake libtool protobuf openssl
3641
42+
# https://github.com/grpc/grpc/issues/31737#issuecomment-1323796842
43+
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
44+
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
3745
uv sync --all-groups
3846
3947
- name: Build and install CLN

0 commit comments

Comments
 (0)