Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run osx arm64 and x86 builds in different containers to prevent binary clash #982

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ jobs:
CIBW_SKIP: "cp36-* cp37-*"
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest' ]
os: [ 'ubuntu-latest' ]
arch: [ 'x86_64', 'aarch64' ]
cibw_python: [ "cp*" ]
exclude:
# This will be handled via CIBW_ARCHS_MACOS env var
include:
- os: macos-latest
arch: aarch64
arch: x86_64
- os: macos-latest
arch: arm64

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -117,7 +118,6 @@ jobs:
CIBW_ENVIRONMENT_MACOS: CC=/usr/bin/clang CXX=/usr/bin/clang HDF5_DIR=/tmp/hdf5 LZO_DIR=/tmp/hdf5 BZIP2_DIR=/tmp/hdf5 LD_LIBRARY_PATH="/tmp/hdf5/lib:${LD_LIBRARY_PATH}" PKG_CONFIG_PATH="/tmp/hdf5/lib/pkgconfig:${PKG_CONFIG_PATH}"
CIBW_SKIP: "*-musllinux_* ${{ env.CIBW_SKIP}}"
CIBW_BEFORE_ALL_MACOS: cp -r `pwd`/hdf5_build /tmp/hdf5
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_BEFORE_ALL_LINUX: >
cp -r `pwd`/hdf5_build /tmp/hdf5 &&
yum -y update &&
Expand Down