Skip to content

Commit

Permalink
Try fix to platform
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Nov 10, 2023
1 parent dcd87ed commit 097db15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ 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 @@ -20,20 +21,21 @@ fi
echo "::group::Install a virtualenv"
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
python3 -m pip install virtualenv
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 install tomlkit
export BUILD_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
$PIP_CMD install tomlkit
export BUILD_DEPENDS=$($PYTHON_EXE ./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 ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
export TEST_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
install_run
echo "::endgroup::"
5 changes: 0 additions & 5 deletions .github/workflows/wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
"3.12",
]
platform: [ "x86_64", "arm64" ]
exclude:
- python: "pypy3.9-7.3.12"
platform: "arm64"
- python: "pypy3.10-7.3.12"
platform: "arm64"
env:
BUILD_COMMIT: ${{ inputs.build-commit }}
PLAT: ${{ matrix.platform }}
Expand Down

0 comments on commit 097db15

Please sign in to comment.