File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
8
8
9
9
if [[ " $PLAT " == " arm64" ]]; then
10
10
export MACOSX_DEPLOYMENT_TARGET=" 11.0"
11
+ CMD_SUFFIX=' arch -arm64'
11
12
else
12
13
export MACOSX_DEPLOYMENT_TARGET=" 10.10"
13
14
fi
20
21
echo " ::group::Install a virtualenv"
21
22
source multibuild/common_utils.sh
22
23
source multibuild/travis_steps.sh
23
- python3 -m pip install virtualenv
24
24
before_install
25
+ export PIP_CMD=" $CMD_SUFFIX $PIP_CMD "
26
+ export PYTHON_EXE=" $CMD_SUFFIX $PYTHON_EXE "
25
27
echo " ::endgroup::"
26
28
27
29
echo " ::group::Build wheel"
28
30
export WHEEL_SDIR=wheelhouse
29
- pip install tomlkit
30
- export BUILD_DEPENDS=$( python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} )
31
+ $PIP_CMD install tomlkit
32
+ export BUILD_DEPENDS=$( $PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} )
31
33
clean_code
32
34
build_wheel
33
35
ls -l " ${GITHUB_WORKSPACE} /${WHEEL_SDIR} /"
34
36
echo " ::endgroup::"
35
37
36
38
echo " ::group::Test wheel"
37
- export TEST_DEPENDS=$( python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
39
+ export TEST_DEPENDS=$( $PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
38
40
install_run
39
41
echo " ::endgroup::"
Original file line number Diff line number Diff line change 28
28
" 3.12" ,
29
29
]
30
30
platform : [ "x86_64", "arm64" ]
31
- exclude :
32
- - python : " pypy3.9-7.3.12"
33
- platform : " arm64"
34
- - python : " pypy3.10-7.3.12"
35
- platform : " arm64"
36
31
env :
37
32
BUILD_COMMIT : ${{ inputs.build-commit }}
38
33
PLAT : ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments