Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Dec 8, 2024
1 parent 3daef5e commit 044092d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
id: mac
os: macos-latest
executable: 'geode'
prebuild: 'export OPENSSL_STATIC=1'
prebuild: |
brew fetch --force --bottle-tag=ventura openssl@3
brew reinstall $(brew --cache --bottle-tag=ventura openssl@3)
export OPENSSL_STATIC=1
export OPENSSL_DIR="/opt/homebrew/opt/openssl@3"
target: x86_64-apple-darwin

- name: "Linux"
Expand All @@ -58,14 +62,6 @@ jobs:
with:
key: ${{ matrix.config.id }}

- name: Get x86_64 openssl
if: ${{ matrix.config.id == 'mac' }}
shell: bash
run: |
brew fetch --force --bottle-tag=ventura openssl@3
brew reinstall $(brew --cache --bottle-tag=ventura openssl@3)
export OPENSSL_DIR="/opt/homebrew/opt/openssl@3"
- name: Build
run: |
${{ matrix.config.prebuild }}
Expand Down

0 comments on commit 044092d

Please sign in to comment.