From b1bc20dc7ffb395281d02551be3b234fd13fc6d1 Mon Sep 17 00:00:00 2001 From: jgerstmayr Date: Wed, 5 Jun 2024 10:13:37 +0200 Subject: [PATCH] fixed cibuild configuration for macos --- .github/workflows/wheels.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 951853d8..8825f24d 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 @@ -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: @@ -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 ...