Skip to content

Commit fff0d9c

Browse files
fix: use macos-14 (ARM64) and macos-15-intel with deployment target 14.0
Configuration: - macos-14: ARM64 runner with GSL 14.0 - macos-15-intel: Intel runner - MACOSX_DEPLOYMENT_TARGET: 14.0 across all macOS runners This avoids the GSL minimum target mismatch that occurred with macos-15 ARM runners where GSL requires 15.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0e413d1 commit fff0d9c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
os: [ ubuntu-24.04, macos-15, macos-15-intel ]
56+
os: [ ubuntu-24.04, macos-14, macos-15-intel ]
5757
python-version: [ 310, 311 ]
5858

5959
steps:
@@ -69,10 +69,12 @@ jobs:
6969
config-file: cibuildwheel.toml
7070
env:
7171
CIBW_BUILD: "cp${{ matrix.python-version}}-*"
72+
# Override deployment target to 14.0 for all macOS runners
73+
MACOSX_DEPLOYMENT_TARGET: "14.0"
7274
# Skip cross-architecture testing to avoid brew/Rosetta issues
7375
CIBW_TEST_SKIP: >-
7476
${{
75-
matrix.os == 'macos-15' && '*macosx_x86_64* *aarch64* *ppc64* *s390x*' ||
77+
matrix.os == 'macos-14' && '*macosx_x86_64* *aarch64* *ppc64* *s390x*' ||
7678
matrix.os == 'macos-15-intel' && '*macosx_arm64* *aarch64* *ppc64* *s390x*' ||
7779
'*aarch64* *arm64* *ppc64* *s390x*'
7880
}}

cibuildwheel.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ skip = [
1313

1414
macos.archs = ["x86_64", "arm64"]
1515

16-
# GSL libraries from Homebrew require macOS 14.0 minimum for macOS 15 runners
16+
# GSL libraries from Homebrew require macOS 14.0 minimum
1717
macos.environment = {MACOSX_DEPLOYMENT_TARGET = "14.0"}
1818

1919
build-verbosity = 1

0 commit comments

Comments
 (0)