Skip to content

Commit 7189093

Browse files
committed
CI - Adding x64 OpenSSL for macOS
1 parent 7156f6a commit 7189093

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/macos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,15 @@ jobs:
4747
fail-on-cache-miss: true
4848
- name: Setup OpenSSL
4949
run: |
50-
echo "WEBUI_TLS_INCLUDE=$(brew --cellar)/[email protected]/1.1.1w/include/" >> $GITHUB_ENV
51-
echo "WEBUI_TLS_LIB=$(brew --cellar)/[email protected]/1.1.1w/lib/" >> $GITHUB_ENV
50+
if [[ "${{ matrix.arch }}" == "x64" ]]; then
51+
arch -x86_64 brew install [email protected]
52+
echo "WEBUI_TLS_INCLUDE=$(arch -x86_64 brew --prefix [email protected])/include/" >> $GITHUB_ENV
53+
echo "WEBUI_TLS_LIB=$(arch -x86_64 brew --prefix [email protected])/lib/" >> $GITHUB_ENV
54+
else
55+
brew install [email protected]
56+
echo "WEBUI_TLS_INCLUDE=$(brew --prefix [email protected])/include/" >> $GITHUB_ENV
57+
echo "WEBUI_TLS_LIB=$(brew --prefix [email protected])/lib/" >> $GITHUB_ENV
58+
fi
5259
- name: Build Debug Target
5360
run: make ARCH_TARGET=${{ matrix.arch }} debug
5461
- name: Build Release Target

0 commit comments

Comments
 (0)