File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ 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'
12
11
else
13
12
export MACOSX_DEPLOYMENT_TARGET=" 10.10"
14
13
fi
@@ -22,20 +21,21 @@ echo "::group::Install a virtualenv"
22
21
source multibuild/common_utils.sh
23
22
source multibuild/travis_steps.sh
24
23
before_install
25
- export PIP_CMD=" $CMD_SUFFIX $PIP_CMD "
26
- export PYTHON_EXE=" $CMD_SUFFIX $PYTHON_EXE "
27
24
echo " ::endgroup::"
28
25
29
26
echo " ::group::Build wheel"
30
27
export WHEEL_SDIR=wheelhouse
31
- $PIP_CMD install tomlkit
32
- export BUILD_DEPENDS=$( $PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} )
28
+ pip install tomlkit
29
+ export BUILD_DEPENDS=$( python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} )
33
30
clean_code
34
31
build_wheel
35
32
ls -l " ${GITHUB_WORKSPACE} /${WHEEL_SDIR} /"
36
33
echo " ::endgroup::"
37
34
38
- echo " ::group::Test wheel"
39
- export TEST_DEPENDS=$( $PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
40
- install_run
41
- echo " ::endgroup::"
35
+ if [[ $PLAT != " arm64" ]]; then
36
+ # arm will not install on Github Workflows x86 architecture.
37
+ echo " ::group::Test wheel"
38
+ export TEST_DEPENDS=$( python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
39
+ install_run
40
+ echo " ::endgroup::"
41
+ fi
You can’t perform that action at this time.
0 commit comments