Skip to content

Commit

Permalink
CI - Remove macOS OpenSSL Build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertShown committed Nov 22, 2024
1 parent 2a5a449 commit 6511bc5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6511bc5

Please sign in to comment.