Skip to content

Commit

Permalink
* try to use homebrew mojave python bottle
Browse files Browse the repository at this point in the history
* try to use homebrew mojave spatialindex bottle
* build full version
  • Loading branch information
Ryan Clary committed Feb 16, 2021
1 parent 52b0553 commit 1c4c84e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/installer-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
build_type: ['Lite'] #, 'Full']
build_type: ['Full'] #, 'Lite']
defaults:
run:
shell: bash -l {0}
Expand All @@ -29,11 +29,12 @@ jobs:
fetch-depth: 0
- name: Update System
run: |
python3.9 -c "import sysconfig; print(f'''MACOSX_DEPLOYMENT_TARGET: {sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')}''')"
python3 -c "import sysconfig; print(f'''MACOSX_DEPLOYMENT_TARGET: {sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')}''')"
brew uninstall --force --ignore-dependencies python
brew install spatialindex
curl https://www.python.org/ftp/python/3.9.1/python-3.9.1-macosx10.9.pkg -o "python.pkg"
sudo installer -pkg python.pkg -target /
curl -L https://homebrew.bintray.com/bottles/python%403.9-3.9.1_8.mojave.bottle.tar.gz -o python@3.9-3.9.1_8.mojave.bottle.tar.gz
curl -L https://homebrew.bintray.com/bottles/spatialindex-1.9.3.mojave.bottle.tar.gz -o spatialindex-1.9.3.mojave.bottle.tar.gz
brew install -f python@3.9-3.9.1_8.mojave.bottle.tar.gz
brew install -f spatialindex-1.9.3.mojave.bottle.tar.gz
python3 -c "import sysconfig; print(f'''MACOSX_DEPLOYMENT_TARGET: {sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')}''')"
- name: Install Dependencies
run: |
Expand Down

0 comments on commit 1c4c84e

Please sign in to comment.