diff options
author | Guillaume Klein <guillaumekln@users.noreply.github.com> | 2022-04-12 10:46:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 10:46:50 +0300 |
commit | dd4835de1f04391a37d153552e4cec9e55edb40e (patch) | |
tree | 804b3bc4e2de83c13debe99e59feb24ec171cbbd /.github | |
parent | 3a34c805af854de709c9261a850a654371a86a14 (diff) |
Build ARM64 wheels for macOS (#769)
* Build ARM64 wheels for macOS
* Factorize CMake command line
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4d0edd9..cfdd7db9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,6 +172,8 @@ jobs: include: - os: ubuntu-20.04 arch: aarch64 + - os: macos-10.15 + arch: arm64 steps: - uses: actions/checkout@v2 @@ -190,6 +192,7 @@ jobs: env: CIBW_ENVIRONMENT_PASS_LINUX: CIBW_ARCHS CIBW_ENVIRONMENT_WINDOWS: CTRANSLATE2_ROOT='${{ github.workspace }}\install' + CIBW_ENVIRONMENT_MACOS: CTRANSLATE2_ROOT='/usr/local' CIBW_BEFORE_ALL_LINUX: python/tools/prepare_build_environment_linux.sh CIBW_BEFORE_ALL_MACOS: python/tools/prepare_build_environment_macos.sh CIBW_BEFORE_ALL_WINDOWS: bash python/tools/prepare_build_environment_windows.sh |