[CI] Fix Python wheel workflow. (#10649)
* [CI] Fix Python wheel workflow. * Use Python 3.10 for building wheels --------- Co-authored-by: Hyunsu Cho <phcho@nvidia.com>
This commit is contained in:
parent
827d0e8edb
commit
fb77ed7603
2
.github/workflows/python_wheels.yml
vendored
2
.github/workflows/python_wheels.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
with:
|
||||
miniforge-variant: Mambaforge
|
||||
miniforge-version: latest
|
||||
python-version: ["3.10"]
|
||||
python-version: "3.10"
|
||||
use-mamba: true
|
||||
- name: Build wheels
|
||||
run: bash tests/ci_build/build_python_wheels.sh ${{ matrix.platform_id }} ${{ github.sha }}
|
||||
|
||||
@ -15,13 +15,13 @@ if [[ "$platform_id" == macosx_* ]]; then
|
||||
if [[ "$platform_id" == macosx_arm64 ]]; then
|
||||
# MacOS, Apple Silicon
|
||||
wheel_tag=macosx_12_0_arm64
|
||||
cpython_ver=39
|
||||
cpython_ver=310
|
||||
cibw_archs=arm64
|
||||
export MACOSX_DEPLOYMENT_TARGET=12.0
|
||||
elif [[ "$platform_id" == macosx_x86_64 ]]; then
|
||||
# MacOS, Intel
|
||||
wheel_tag=macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64
|
||||
cpython_ver=39
|
||||
cpython_ver=310
|
||||
cibw_archs=x86_64
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.15
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user