@@ -42,13 +42,33 @@ jobs:
42
42
CIBW_BUILD_VERBOSITY : 1
43
43
run : python -m cibuildwheel --output-dir wheelhouse
44
44
45
+ - name : Download and install gfortran-10.2
46
+ if : matrix.os == 'macos-12'
47
+ run : |
48
+ set -e # Exit immediately if a command exits with a non-zero status
49
+
50
+ echo "Downloading gfortran-10.2-Catalina.dmg..."
51
+ curl -L -o gfortran-10.2-Catalina.dmg https://github.com/fxcoudert/gfortran-for-macOS/releases/download/10.2/gfortran-10.2-Catalina.dmg
52
+
53
+ echo "Mounting gfortran-10.2-Catalina.dmg..."
54
+ hdiutil attach gfortran-10.2-Catalina.dmg
55
+
56
+ echo "Installing gfortran..."
57
+ sudo installer -pkg /Volumes/gfortran-10.2-Catalina/gfortran.pkg -target /
58
+
59
+ echo "Unmounting gfortran-10.2-Catalina.dmg..."
60
+ hdiutil detach /Volumes/gfortran-10.2-Catalina
61
+
62
+ echo "Verifying gfortran installation..."
63
+ gfortran --version
64
+
45
65
- name : Build macos-12 wheels
46
66
if : matrix.os == 'macos-12'
47
67
env :
48
68
# all cp3xx, since old macs seem to only use osx 12+ builds if this is set not "none"
49
69
# see consistency with get_tag() in setup.py
50
70
CIBW_BUILD : cp311-*
51
- MACOSX_DEPLOYMENT_TARGET : 10.15
71
+ MACOSX_DEPLOYMENT_TARGET : 12
52
72
CIBW_SKIP : pp*
53
73
CIBW_BUILD_VERBOSITY : 1
54
74
run : python -m cibuildwheel --output-dir wheelhouse
@@ -135,7 +155,7 @@ jobs:
135
155
runs-on : ${{ matrix.os }}
136
156
strategy :
137
157
matrix :
138
- os : [ macos-12, macos-13, macos-13-xlarge, macos-14, ubuntu-latest, windows-latest ]
158
+ os : [ macos-12, macos-13 ]
139
159
140
160
steps :
141
161
- uses : actions/setup-python@v5
0 commit comments