mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-26 05:43:59 +03:00
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:
parent
84c761bacd
commit
7f79128900
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -91,7 +91,7 @@ jobs:
|
|||||||
PYTHON_LOCAL_VERSION_IDENTIFIER=${{ env.PYTHON_LOCAL_VERSION_IDENTIFIER }}
|
PYTHON_LOCAL_VERSION_IDENTIFIER=${{ env.PYTHON_LOCAL_VERSION_IDENTIFIER }}
|
||||||
CCACHE_DIR=${{ env.ccache_dir }}
|
CCACHE_DIR=${{ env.ccache_dir }}
|
||||||
CCACHE_BASEDIR=${{ env.ccache_basedir }}
|
CCACHE_BASEDIR=${{ env.ccache_basedir }}
|
||||||
MACOSX_DEPLOYMENT_TARGET=10.15
|
MACOSX_DEPLOYMENT_TARGET=10.9
|
||||||
|
|
||||||
CIBW_BEFORE_BUILD_LINUX: |
|
CIBW_BEFORE_BUILD_LINUX: |
|
||||||
yum install -y ccache
|
yum install -y ccache
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
ccache -s # Print current cache stats
|
ccache -s # Print current cache stats
|
||||||
ccache -z # Zero cache entry
|
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: |
|
CIBW_BEFORE_TEST: |
|
||||||
ccache -s # Print current ccache stats
|
ccache -s # Print current ccache stats
|
||||||
@ -413,7 +413,7 @@ jobs:
|
|||||||
working-directory: ./doc
|
working-directory: ./doc
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -r requirements.txt
|
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
|
- name: Build documentation
|
||||||
working-directory: ./doc
|
working-directory: ./doc
|
||||||
@ -441,4 +441,3 @@ jobs:
|
|||||||
name: api-docs
|
name: api-docs
|
||||||
path: ./doc/build/
|
path: ./doc/build/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user