-
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
2a5a449
commit 6511bc5
Showing
1 changed file
with
4 additions
and
12 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 |
---|---|---|
|
@@ -47,25 +47,18 @@ jobs: | |
fail-on-cache-miss: true | ||
- name: Setup OpenSSL | ||
run: | | ||
if [[ "${{ matrix.arch }}" == "x64" ]]; then | ||
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 | ||
echo "WEBUI_TLS_INCLUDE=$(brew --cellar)/[email protected]/1.1.1w/include/" >> $GITHUB_ENV | ||
echo "WEBUI_TLS_LIB=$(brew --cellar)/[email protected]/1.1.1w/lib/" >> $GITHUB_ENV | ||
- name: Build Debug Target | ||
run: make ARCH_TARGET=${{ matrix.arch }} debug | ||
- name: Build Release Target | ||
if: ${{ !cancelled() }} | ||
run: make ARCH_TARGET=${{ matrix.arch }} | ||
- name: Build TLS Debug Target | ||
if: ${{ matrix.arch != 'x64' }} | ||
run: make ARCH_TARGET=${{ matrix.arch }} WEBUI_USE_TLS=1 debug | ||
- name: Build TLS Release Target | ||
if: ${{ matrix.arch != 'x64' }} | ||
run: make ARCH_TARGET=${{ matrix.arch }} WEBUI_USE_TLS=1 | ||
- name: Build examples | ||
run: | | ||
|
@@ -109,7 +102,6 @@ jobs: | |
echo "TITLE=WebUI Nightly Build $(date -u +'%Y-%m-%d %H:%M:%S UTC')" | ||
echo "BODY=Generated from commit $GITHUB_SHA." | ||
} >> $GITHUB_ENV | ||
fi | ||
- name: Update Nightly Tag | ||
if: env.IS_PRERELEASE | ||
uses: richardsimko/update-tag@v1 | ||
|