Skip to content

Commit

Permalink
Try fix by dropping tests on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Nov 10, 2023
1 parent 097db15 commit d7e7973
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then

if [[ "$PLAT" == "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET="11.0"
CMD_SUFFIX='arch -arm64'
else
export MACOSX_DEPLOYMENT_TARGET="10.10"
fi
Expand All @@ -22,20 +21,21 @@ echo "::group::Install a virtualenv"
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
before_install
export PIP_CMD="$CMD_SUFFIX $PIP_CMD"
export PYTHON_EXE="$CMD_SUFFIX $PYTHON_EXE"
echo "::endgroup::"

echo "::group::Build wheel"
export WHEEL_SDIR=wheelhouse
$PIP_CMD install tomlkit
export BUILD_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
pip install tomlkit
export BUILD_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
clean_code
build_wheel
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
echo "::endgroup::"

echo "::group::Test wheel"
export TEST_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
install_run
echo "::endgroup::"
if [[ $PLAT != "arm64" ]]; then
# arm will not install on Github Workflows x86 architecture.
echo "::group::Test wheel"
export TEST_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
install_run
echo "::endgroup::"
fi

0 comments on commit d7e7973

Please sign in to comment.