Skip to content

Commit

Permalink
chore(ci): for osx force openssl static (#32)
Browse files Browse the repository at this point in the history
leet4tari authored Jan 24, 2025
1 parent c4c8758 commit dbc7c36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
@@ -179,9 +179,21 @@ jobs:
- name: Install dependencies (macOS)
if: startsWith(runner.os,'macOS')
shell: bash
run: |
# openssl, cmake and autoconf already installed
brew install zip coreutils automake protobuf
# Force static openssl libs
echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
if [ -f /opt/homebrew/opt/openssl/README.md ]; then
ls -la /opt/homebrew/opt/openssl/
echo "OPENSSL_LIB_DIR=/opt/homebrew/opt/openssl/lib" >> $GITHUB_ENV
echo "OPENSSL_INCLUDE_DIR=/opt/homebrew/opt/openssl/include" >> $GITHUB_ENV
else
ls -la /usr/local/opt/openssl/
echo "OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib" >> $GITHUB_ENV
echo "OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include" >> $GITHUB_ENV
fi
- name: Install macOS-14 missing dependencies - hack
if: ${{ startsWith(runner.os,'macOS') && startsWith(runner.arch,'ARM64') }}

0 comments on commit dbc7c36

Please sign in to comment.