MacOS Wheels (#432)

* Remove trailing whitespace
* Additional MacOS wheels: Wheels for python 3.6 to 3.10 with a 
   minimum target of MacOS 10.9
* Install bergamot package from wheel directory
* Remove no-index as we need dependencies
This commit is contained in:
Graeme Nail 2022-06-29 22:46:24 +01:00 committed by GitHub
parent 84c761bacd
commit 7f79128900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ jobs:
PYTHON_LOCAL_VERSION_IDENTIFIER=${{ env.PYTHON_LOCAL_VERSION_IDENTIFIER }}
CCACHE_DIR=${{ env.ccache_dir }}
CCACHE_BASEDIR=${{ env.ccache_basedir }}
MACOSX_DEPLOYMENT_TARGET=10.15
MACOSX_DEPLOYMENT_TARGET=10.9
CIBW_BEFORE_BUILD_LINUX: |
yum install -y ccache
@ -111,7 +111,7 @@ jobs:
ccache -s # Print current cache stats
ccache -z # Zero cache entry
CIBW_BUILD: "cp{36,37,38,39,310}-*manylinux_x86_64 cp310-macosx_x86_64"
CIBW_BUILD: "cp{36,37,38,39,310}-*manylinux_x86_64 cp{36,37,38,39,310}-macosx_x86_64"
CIBW_BEFORE_TEST: |
ccache -s # Print current ccache stats
@ -413,7 +413,7 @@ jobs:
working-directory: ./doc
run: |
python3 -m pip install -r requirements.txt
python3 -m pip install ${{github.workspace}}/wheels/bergamot-*-cp37*.whl
python3 -m pip install --find-links=${{github.workspace}}/wheels bergamot
- name: Build documentation
working-directory: ./doc
@ -441,4 +441,3 @@ jobs:
name: api-docs
path: ./doc/build/
if-no-files-found: error