Skip to content

Commit

Permalink
specify brew [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Aug 23, 2024
1 parent def8d0b commit 62626d1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/osx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,24 @@ jobs:
p12-file-base64: ${{ secrets.MACOS_CERTIFICATE }}
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}

- name: Setup Brew
- name: Install GDAL using Brew x86_64
if: ${{ matrix.pre == 'x86_64' }}
run: |
rm /usr/local/bin/2to3 || true
rm /usr/local/bin/idle3 || true
rm /usr/local/bin/pydoc3 || true
rm /usr/local/bin/python3 || true
rm /usr/local/bin/python3-config || true
arch -${{ env.GEODA_ARCH }} brew install --force --overwrite --quiet gdal || true
which brew
brew install --force --overwrite --quiet gdal || true
- name: Install GDAL using Brew Arm64
if: ${{ matrix.pre == 'arm64' }}
run: |
HOMEBREW_PREFIX="/opt/homebrew"
HOMEBREW_REPOSITORY="${HOMEBREW_PREFIX}"
which brew
brew install gdal
- uses: actions/cache@v3
id: cache
Expand Down

0 comments on commit 62626d1

Please sign in to comment.