Skip to content

Commit

Permalink
fixed cibuild configuration for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerstmayr committed Jun 5, 2024
1 parent 8d91936 commit b1bc20d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['10']
#python-version: ['8','9','10','11','12']
# python-version: ['10']
python-version: ['8','9','10','11','12']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -100,8 +100,7 @@ jobs:
strategy:
matrix:
# os: [ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
# os: [windows-latest, macos-latest, ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
os: [macos-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
os: [windows-latest, macos-latest, ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
# python-version: ['10']
python-version: ['8', '9', '10', '11', '12']
exclude:
Expand Down Expand Up @@ -133,10 +132,10 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: "yum install -y epel-release && yum update -y && yum install -y glfw-devel libX11-devel"
CIBW_BUILD: "cp3${{ matrix.python-version }}-*"
CIBW_SKIP: "*-win32 *musllinux*" #skip building 32-bit (win32) wheels
CIBW_ARCHS_MACOS: "universal2" #universal2 or arm64 and x86_64
CIBW_ARCHS_MACOS: "universal2" #universal2 does both arm64 and x86_64, requires actions/setup-python@v5 since 2024-06-04
CIBW_ARCHS_LINUX: "aarch64" #for raspberry pi, etc.

CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=11.0" # does not change version
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=11.0" # resolves problems with repairing/delocate-wheel; since 2024-06-04
#{project} folder is in Exudyn root, not in main!
CIBW_TEST_COMMAND_WINDOWS: "cd /d {project}/main/pythonDev/TestModels && python runTestSuite.py -quiet -local"
# perform a test and rename it into a wheel to be copied by cibuild ...
Expand Down

0 comments on commit b1bc20d

Please sign in to comment.