-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d2b80d
commit a509155
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,15 +48,16 @@ jobs: | |
- name: Setup OpenSSL | ||
run: | | ||
if [[ "${{ matrix.arch }}" == "x64" ]]; then | ||
brew uninstall [email protected] || true | ||
arch -x86_64 brew install [email protected] | ||
echo "WEBUI_TLS_INCLUDE=$(arch -x86_64 brew --prefix [email protected])/include/" >> $GITHUB_ENV | ||
echo "WEBUI_TLS_LIB=$(arch -x86_64 brew --prefix [email protected])/lib/" >> $GITHUB_ENV | ||
else | ||
brew install [email protected] | ||
echo "WEBUI_TLS_INCLUDE=$(brew --prefix [email protected])/include/" >> $GITHUB_ENV | ||
echo "WEBUI_TLS_LIB=$(brew --prefix [email protected])/lib/" >> $GITHUB_ENV | ||
fi | ||
HOMEBREW_X64_PATH="/usr/local/bin/brew" | ||
arch -arm64 brew uninstall [email protected] || true | ||
arch -x86_64 $HOMEBREW_X64_PATH install [email protected] | ||
echo "WEBUI_TLS_INCLUDE=$($HOMEBREW_X64_PATH --prefix [email protected])/include/" >> $GITHUB_ENV | ||
echo "WEBUI_TLS_LIB=$($HOMEBREW_X64_PATH --prefix [email protected])/lib/" >> $GITHUB_ENV | ||
else | ||
brew install [email protected] | ||
echo "WEBUI_TLS_INCLUDE=$(brew --prefix [email protected])/include/" >> $GITHUB_ENV | ||
echo "WEBUI_TLS_LIB=$(brew --prefix [email protected])/lib/" >> $GITHUB_ENV | ||
fi | ||
- name: Build Debug Target | ||
run: make ARCH_TARGET=${{ matrix.arch }} debug | ||
- name: Build Release Target | ||
|