@@ -42,110 +42,222 @@ jobs:
42
42
target : x86_64-unknown-linux-gnu
43
43
php-versions : ' 8.3'
44
44
phpts : ' nts'
45
+
46
+ # -------------------------- Start BETA MacOS 14 --------------------------
45
47
46
48
# Macos x64 - PHP8.0 - NTS
47
- - build : x86_64-apple-darwin
48
- os : macos-latest
49
+ - build : x86_64-apple-darwin-macos-14
50
+ os : macos-latest-large
49
51
target : x86_64-apple-darwin
50
52
php-versions : ' 8.0'
51
53
phpts : ' nts'
52
54
53
- - build : aarch64-apple-darwin
55
+ - build : aarch64-apple-darwin-macos-14
54
56
os : macos-latest
55
57
target : aarch64-apple-darwin
56
58
php-versions : ' 8.0'
57
59
phpts : ' nts'
58
60
59
- # Macos x64 - PHP8.1 - NTS
60
- - build : x86_64-apple-darwin
61
+ # Macos x64 - PHP8.0 - TS
62
+ - build : x86_64-apple-darwin-macos-14
63
+ os : macos-latest-large
64
+ target : x86_64-apple-darwin
65
+ php-versions : ' 8.0'
66
+ phpts : ' ts'
67
+
68
+ - build : aarch64-apple-darwin-macos-14
61
69
os : macos-latest
70
+ target : aarch64-apple-darwin
71
+ php-versions : ' 8.0'
72
+ phpts : ' ts'
73
+
74
+ # Macos x64 - PHP8.1 - NTS
75
+ - build : x86_64-apple-darwin-macos-14
76
+ os : macos-latest-large
62
77
target : x86_64-apple-darwin
63
78
php-versions : ' 8.1'
64
79
phpts : ' nts'
65
80
66
- - build : aarch64-apple-darwin
81
+ - build : aarch64-apple-darwin-macos-14
67
82
os : macos-latest
68
83
target : aarch64-apple-darwin
69
84
php-versions : ' 8.1'
70
85
phpts : ' nts'
86
+
87
+ # Macos x64 - PHP8.1 - TS
88
+ - build : x86_64-apple-darwin-macos-14
89
+ os : macos-latest-large
90
+ target : x86_64-apple-darwin
91
+ php-versions : ' 8.1'
92
+ phpts : ' ts'
93
+
94
+ - build : aarch64-apple-darwin-macos-14
95
+ os : macos-latest
96
+ target : aarch64-apple-darwin
97
+ php-versions : ' 8.1'
98
+ phpts : ' ts'
71
99
72
100
# Macos x64 - PHP8.2 - NTS
73
- - build : x86_64-apple-darwin
74
- os : macos-latest
101
+ - build : x86_64-apple-darwin-macos-14
102
+ os : macos-latest-large
75
103
target : x86_64-apple-darwin
76
104
php-versions : ' 8.2'
77
105
phpts : ' nts'
78
106
79
- - build : aarch64-apple-darwin
107
+ - build : aarch64-apple-darwin-macos-14
80
108
os : macos-latest
81
109
target : aarch64-apple-darwin
82
110
php-versions : ' 8.2'
83
111
phpts : ' nts'
112
+
113
+ # Macos x64 - PHP8.2 - TS
114
+ - build : x86_64-apple-darwin-macos-14
115
+ os : macos-latest-large
116
+ target : x86_64-apple-darwin
117
+ php-versions : ' 8.2'
118
+ phpts : ' ts'
119
+
120
+ - build : aarch64-apple-darwin-macos-14
121
+ os : macos-latest
122
+ target : aarch64-apple-darwin
123
+ php-versions : ' 8.2'
124
+ phpts : ' ts'
84
125
85
126
# Macos x64 - PHP8.3 - NTS
86
- - build : x86_64-apple-darwin
87
- os : macos-latest
127
+ - build : x86_64-apple-darwin-macos-14
128
+ os : macos-latest-large
88
129
target : x86_64-apple-darwin
89
130
php-versions : ' 8.3'
90
131
phpts : ' nts'
91
132
92
- - build : aarch64-apple-darwin
133
+ - build : aarch64-apple-darwin-macos-14
93
134
os : macos-latest
94
135
target : aarch64-apple-darwin
95
136
php-versions : ' 8.3'
96
137
phpts : ' nts'
97
138
98
- # Macos x64 - PHP8.0 - TS
99
- - build : x86_64-apple-darwin
139
+ # Macos x64 - PHP8.3 - TS
140
+ - build : x86_64-apple-darwin-macos-14
141
+ os : macos-latest-large
142
+ target : x86_64-apple-darwin
143
+ php-versions : ' 8.3'
144
+ phpts : ' ts'
145
+
146
+ - build : aarch64-apple-darwin-macos-14
100
147
os : macos-latest
148
+ target : aarch64-apple-darwin
149
+ php-versions : ' 8.3'
150
+ phpts : ' ts'
151
+
152
+ # -------------------------- End BETA MacOS 14 --------------------------
153
+
154
+ # -------------------------- Start BETA MacOS 15 --------------------------
155
+
156
+ # Macos x64 - PHP8.0 - NTS
157
+ - build : x86_64-apple-darwin-macos-15-beta
158
+ os : macos-15-large
159
+ target : x86_64-apple-darwin
160
+ php-versions : ' 8.0'
161
+ phpts : ' nts'
162
+
163
+ - build : aarch64-apple-darwin-macos-15-beta
164
+ os : macos-15
165
+ target : aarch64-apple-darwin
166
+ php-versions : ' 8.0'
167
+ phpts : ' nts'
168
+
169
+ # Macos x64 - PHP8.0 - TS
170
+ - build : x86_64-apple-darwin-macos-15-beta
171
+ os : macos-15-large
101
172
target : x86_64-apple-darwin
102
173
php-versions : ' 8.0'
103
174
phpts : ' ts'
104
175
105
- - build : aarch64-apple-darwin
106
- os : macos-latest
176
+ - build : aarch64-apple-darwin-macos-15-beta
177
+ os : macos-15
107
178
target : aarch64-apple-darwin
108
179
php-versions : ' 8.0'
109
180
phpts : ' ts'
110
181
182
+ # Macos x64 - PHP8.1 - NTS
183
+ - build : x86_64-apple-darwin-macos-15-beta
184
+ os : macos-15-large
185
+ target : x86_64-apple-darwin
186
+ php-versions : ' 8.1'
187
+ phpts : ' nts'
188
+
189
+ - build : aarch64-apple-darwin-macos-15-beta
190
+ os : macos-15
191
+ target : aarch64-apple-darwin
192
+ php-versions : ' 8.1'
193
+ phpts : ' nts'
194
+
111
195
# Macos x64 - PHP8.1 - TS
112
- - build : x86_64-apple-darwin
113
- os : macos-latest
196
+ - build : x86_64-apple-darwin-macos-15-beta
197
+ os : macos-15-large
114
198
target : x86_64-apple-darwin
115
199
php-versions : ' 8.1'
116
200
phpts : ' ts'
117
201
118
- - build : aarch64-apple-darwin
119
- os : macos-latest
202
+ - build : aarch64-apple-darwin-macos-15-beta
203
+ os : macos-15
120
204
target : aarch64-apple-darwin
121
205
php-versions : ' 8.1'
122
206
phpts : ' ts'
123
207
208
+ # Macos x64 - PHP8.2 - NTS
209
+ - build : x86_64-apple-darwin-macos-15-beta
210
+ os : macos-15-large
211
+ target : x86_64-apple-darwin
212
+ php-versions : ' 8.2'
213
+ phpts : ' nts'
214
+
215
+ - build : aarch64-apple-darwin-macos-15-beta
216
+ os : macos-15
217
+ target : aarch64-apple-darwin
218
+ php-versions : ' 8.2'
219
+ phpts : ' nts'
220
+
124
221
# Macos x64 - PHP8.2 - TS
125
- - build : x86_64-apple-darwin
126
- os : macos-latest
222
+ - build : x86_64-apple-darwin-macos-15-beta
223
+ os : macos-15-large
127
224
target : x86_64-apple-darwin
128
225
php-versions : ' 8.2'
129
226
phpts : ' ts'
130
227
131
- - build : aarch64-apple-darwin
132
- os : macos-latest
228
+ - build : aarch64-apple-darwin-macos-15-beta
229
+ os : macos-15
133
230
target : aarch64-apple-darwin
134
231
php-versions : ' 8.2'
135
232
phpts : ' ts'
136
233
234
+ # Macos x64 - PHP8.3 - NTS
235
+ - build : x86_64-apple-darwin-macos-15-beta
236
+ os : macos-15-large
237
+ target : x86_64-apple-darwin
238
+ php-versions : ' 8.3'
239
+ phpts : ' nts'
240
+
241
+ - build : aarch64-apple-darwin-macos-15-beta
242
+ os : macos-15
243
+ target : aarch64-apple-darwin
244
+ php-versions : ' 8.3'
245
+ phpts : ' nts'
246
+
137
247
# Macos x64 - PHP8.3 - TS
138
- - build : x86_64-apple-darwin
139
- os : macos-latest
248
+ - build : x86_64-apple-darwin-macos-15-beta
249
+ os : macos-15-large
140
250
target : x86_64-apple-darwin
141
251
php-versions : ' 8.3'
142
252
phpts : ' ts'
143
253
144
- - build : aarch64-apple-darwin
145
- os : macos-latest
254
+ - build : aarch64-apple-darwin-macos-15-beta
255
+ os : macos-15
146
256
target : aarch64-apple-darwin
147
257
php-versions : ' 8.3'
148
258
phpts : ' ts'
259
+
260
+ # -------------------------- End BETA MacOS 15 --------------------------
149
261
150
262
# Windows x64 - PHP8.0 - NTS
151
263
- build : x86_64-pc-windows-msvc
@@ -234,7 +346,7 @@ jobs:
234
346
if : matrix.os == 'ubuntu-latest'
235
347
run : |
236
348
cargo install cross
237
- export CROSS_CONFIG=./Cross_php-${{ matrix.php-versions }}.toml
349
+ export CROSS_CONFIG=./cross/ Cross_php-${{ matrix.php-versions }}.toml
238
350
cross build --release --target ${{ matrix.target }}
239
351
240
352
- name : Build Extension
@@ -253,7 +365,7 @@ jobs:
253
365
dirname="$binary_name-$version-php-${{ matrix.php-versions }}-${{ matrix.phpts }}-${{ matrix.target }}"
254
366
mkdir "$dirname"
255
367
256
- if [ "${{ matrix.os }}" = "macos-latest" ]; then
368
+ if [ "${{ matrix.os }}" == * "macos"* ]; then
257
369
cp "target/${{ matrix.target }}/release/lib${binary_name}.dylib" "target/${{ matrix.target }}/release/lib${binary_name}.so"
258
370
mv "target/${{ matrix.target }}/release/lib${binary_name}.dylib" "$dirname"
259
371
mv "target/${{ matrix.target }}/release/lib${binary_name}.so" "$dirname"
0 commit comments