Skip to content

Commit d7e7973

Browse files
committed
Try fix by dropping tests on ARM
1 parent 097db15 commit d7e7973

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
88

99
if [[ "$PLAT" == "arm64" ]]; then
1010
export MACOSX_DEPLOYMENT_TARGET="11.0"
11-
CMD_SUFFIX='arch -arm64'
1211
else
1312
export MACOSX_DEPLOYMENT_TARGET="10.10"
1413
fi
@@ -22,20 +21,21 @@ echo "::group::Install a virtualenv"
2221
source multibuild/common_utils.sh
2322
source multibuild/travis_steps.sh
2423
before_install
25-
export PIP_CMD="$CMD_SUFFIX $PIP_CMD"
26-
export PYTHON_EXE="$CMD_SUFFIX $PYTHON_EXE"
2724
echo "::endgroup::"
2825

2926
echo "::group::Build wheel"
3027
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})
3330
clean_code
3431
build_wheel
3532
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
3633
echo "::endgroup::"
3734

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

0 commit comments

Comments
 (0)