Skip to content

Commit

Permalink
ci: run tests when building macOS arm64 natively
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 16, 2024
1 parent c0f9f66 commit 1fe4e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wheelbuild/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ echo "::group::Setup wheel installation"
echo "::endgroup::"

echo "::group::Test wheel"
if [ "$PLAT" == "arm64" ]; then
echo "Skipping test for Apple Silicon"
if [ "${PLAT}" == "arm64" ] && [ $(arch) != "arm64" ]; then
echo "Skipping tests for non-natively-built Apple Silicon wheel"
elif [[ "$MB_ML_LIBC" == "musllinux" ]] && [[ "$MB_PYTHON_VERSION" != "3.11" ]]&& [[ "$MB_PYTHON_VERSION" != "3.11" ]]; then
echo "Skipping tests for CI issue with musl python < 3.11"
else
Expand Down

0 comments on commit 1fe4e45

Please sign in to comment.