@@ -15,97 +15,193 @@ jobs:
15
15
strategy :
16
16
matrix :
17
17
include :
18
- # Linux x64 - PHP8.0
18
+ # Linux x64 - PHP8.0 - NTS
19
19
- build : x86_64-unknown-linux-gnu
20
20
os : ubuntu-latest
21
21
target : x86_64-unknown-linux-gnu
22
22
php-versions : ' 8.0'
23
+ phpts : ' nts'
23
24
24
- # Macos x64 - PHP8.0
25
+ # Linux x64 - PHP8.1 - NTS
26
+ - build : x86_64-unknown-linux-gnu
27
+ os : ubuntu-latest
28
+ target : x86_64-unknown-linux-gnu
29
+ php-versions : ' 8.1'
30
+ phpts : ' nts'
31
+
32
+ # Linux x64 - PHP8.2 - NTS
33
+ - build : x86_64-unknown-linux-gnu
34
+ os : ubuntu-latest
35
+ target : x86_64-unknown-linux-gnu
36
+ php-versions : ' 8.2'
37
+ phpts : ' nts'
38
+
39
+ # Linux x64 - PHP8.3 - NTS
40
+ - build : x86_64-unknown-linux-gnu
41
+ os : ubuntu-latest
42
+ target : x86_64-unknown-linux-gnu
43
+ php-versions : ' 8.3'
44
+ phpts : ' nts'
45
+
46
+ # Macos x64 - PHP8.0 - NTS
25
47
- build : x86_64-apple-darwin
26
48
os : macos-latest
27
49
target : x86_64-apple-darwin
28
50
php-versions : ' 8.0'
51
+ phpts : ' nts'
29
52
30
53
- build : aarch64-apple-darwin
31
54
os : macos-latest
32
55
target : aarch64-apple-darwin
33
56
php-versions : ' 8.0'
34
-
35
- # Windows x64 - PHP8.0
36
- - build : x86_64-pc-windows-msvc
37
- os : windows-2019
38
- target : x86_64-pc-windows-msvc
39
- php-versions : ' 8.0'
40
-
41
- # Linux x64 - PHP8.1
42
- - build : x86_64-unknown-linux-gnu
43
- os : ubuntu-latest
44
- target : x86_64-unknown-linux-gnu
45
- php-versions : ' 8.1'
57
+ phpts : ' nts'
46
58
47
- # Macos x64 - PHP8.1
59
+ # Macos x64 - PHP8.1 - NTS
48
60
- build : x86_64-apple-darwin
49
61
os : macos-latest
50
62
target : x86_64-apple-darwin
51
63
php-versions : ' 8.1'
64
+ phpts : ' nts'
52
65
53
66
- build : aarch64-apple-darwin
54
67
os : macos-latest
55
68
target : aarch64-apple-darwin
56
69
php-versions : ' 8.1'
70
+ phpts : ' nts'
57
71
58
- # Windows x64 - PHP8.1
59
- - build : x86_64-pc-windows-msvc
60
- os : windows-2019
61
- target : x86_64-pc-windows-msvc
62
- php-versions : ' 8.1'
72
+ # Macos x64 - PHP8.2 - NTS
73
+ - build : x86_64-apple-darwin
74
+ os : macos-latest
75
+ target : x86_64-apple-darwin
76
+ php-versions : ' 8.2'
77
+ phpts : ' nts'
63
78
64
- # Linux x64 - PHP8.2
65
- - build : x86_64-unknown-linux-gnu
66
- os : ubuntu-latest
67
- target : x86_64-unknown-linux-gnu
79
+ - build : aarch64-apple-darwin
80
+ os : macos-latest
81
+ target : aarch64-apple-darwin
68
82
php-versions : ' 8.2'
83
+ phpts : ' nts'
84
+
85
+ # Macos x64 - PHP8.3 - NTS
86
+ - build : x86_64-apple-darwin
87
+ os : macos-latest
88
+ target : x86_64-apple-darwin
89
+ php-versions : ' 8.3'
90
+ phpts : ' nts'
91
+
92
+ - build : aarch64-apple-darwin
93
+ os : macos-latest
94
+ target : aarch64-apple-darwin
95
+ php-versions : ' 8.3'
96
+ phpts : ' nts'
97
+
98
+ # Macos x64 - PHP8.0 - TS
99
+ - build : x86_64-apple-darwin
100
+ os : macos-latest
101
+ target : x86_64-apple-darwin
102
+ php-versions : ' 8.0'
103
+ phpts : ' ts'
104
+
105
+ - build : aarch64-apple-darwin
106
+ os : macos-latest
107
+ target : aarch64-apple-darwin
108
+ php-versions : ' 8.0'
109
+ phpts : ' ts'
69
110
70
- # Macos x64 - PHP8.2
111
+ # Macos x64 - PHP8.1 - TS
112
+ - build : x86_64-apple-darwin
113
+ os : macos-latest
114
+ target : x86_64-apple-darwin
115
+ php-versions : ' 8.1'
116
+ phpts : ' ts'
117
+
118
+ - build : aarch64-apple-darwin
119
+ os : macos-latest
120
+ target : aarch64-apple-darwin
121
+ php-versions : ' 8.1'
122
+ phpts : ' ts'
123
+
124
+ # Macos x64 - PHP8.2 - TS
71
125
- build : x86_64-apple-darwin
72
126
os : macos-latest
73
127
target : x86_64-apple-darwin
74
128
php-versions : ' 8.2'
129
+ phpts : ' ts'
75
130
76
131
- build : aarch64-apple-darwin
77
132
os : macos-latest
78
133
target : aarch64-apple-darwin
79
134
php-versions : ' 8.2'
135
+ phpts : ' ts'
80
136
81
- # Windows x64 - PHP8.2
82
- - build : x86_64-pc-windows-msvc
83
- os : windows-2019
84
- target : x86_64-pc-windows-msvc
85
- php-versions : ' 8.2'
86
-
87
- # Linux x64 - PHP8.3
88
- - build : x86_64-unknown-linux-gnu
89
- os : ubuntu-latest
90
- target : x86_64-unknown-linux-gnu
91
- php-versions : ' 8.3'
92
-
93
- # Macos x64 - PHP8.3
137
+ # Macos x64 - PHP8.3 - TS
94
138
- build : x86_64-apple-darwin
95
139
os : macos-latest
96
140
target : x86_64-apple-darwin
97
141
php-versions : ' 8.3'
142
+ phpts : ' ts'
98
143
99
144
- build : aarch64-apple-darwin
100
145
os : macos-latest
101
146
target : aarch64-apple-darwin
102
147
php-versions : ' 8.3'
148
+ phpts : ' ts'
149
+
150
+ # Windows x64 - PHP8.0 - NTS
151
+ - build : x86_64-pc-windows-msvc
152
+ os : windows-2019
153
+ target : x86_64-pc-windows-msvc
154
+ php-versions : ' 8.0'
155
+ phpts : ' nts'
156
+
157
+ # Windows x64 - PHP8.1 - NTS
158
+ - build : x86_64-pc-windows-msvc
159
+ os : windows-2019
160
+ target : x86_64-pc-windows-msvc
161
+ php-versions : ' 8.1'
162
+ phpts : ' nts'
163
+
164
+ # Windows x64 - PHP8.2 - NTS
165
+ - build : x86_64-pc-windows-msvc
166
+ os : windows-2019
167
+ target : x86_64-pc-windows-msvc
168
+ php-versions : ' 8.2'
169
+ phpts : ' nts'
170
+
171
+ # Windows x64 - PHP8.3 - NTS
172
+ - build : x86_64-pc-windows-msvc
173
+ os : windows-2019
174
+ target : x86_64-pc-windows-msvc
175
+ php-versions : ' 8.3'
176
+ phpts : ' nts'
177
+
178
+ # Windows x64 - PHP8.0 - TS
179
+ - build : x86_64-pc-windows-msvc
180
+ os : windows-2019
181
+ target : x86_64-pc-windows-msvc
182
+ php-versions : ' 8.0'
183
+ phpts : ' ts'
184
+
185
+ # Windows x64 - PHP8.1 - TS
186
+ - build : x86_64-pc-windows-msvc
187
+ os : windows-2019
188
+ target : x86_64-pc-windows-msvc
189
+ php-versions : ' 8.1'
190
+ phpts : ' ts'
191
+
192
+ # Windows x64 - PHP8.2 - TS
193
+ - build : x86_64-pc-windows-msvc
194
+ os : windows-2019
195
+ target : x86_64-pc-windows-msvc
196
+ php-versions : ' 8.2'
197
+ phpts : ' ts'
103
198
104
- # Windows x64 - PHP8.3
199
+ # Windows x64 - PHP8.3 - TS
105
200
- build : x86_64-pc-windows-msvc
106
201
os : windows-2019
107
202
target : x86_64-pc-windows-msvc
108
203
php-versions : ' 8.3'
204
+ phpts : ' ts'
109
205
110
206
steps :
111
207
- name : Checkout
@@ -131,6 +227,8 @@ jobs:
131
227
uses : shivammathur/setup-php@v2
132
228
with :
133
229
php-version : ${{ matrix.php-versions }}
230
+ env :
231
+ phpts : ${{ matrix.phpts }}
134
232
135
233
- name : Build (Linux)
136
234
if : matrix.os == 'ubuntu-latest'
@@ -152,7 +250,7 @@ jobs:
152
250
str_version=${{ env.VERSION }}
153
251
version=${str_version#turso-php-extension/}
154
252
155
- dirname="$binary_name-$version-php-${{ matrix.php-versions }}-${{ matrix.target }}"
253
+ dirname="$binary_name-$version-php-${{ matrix.php-versions }}-${{ matrix.phpts }}-${{ matrix. target }}"
156
254
mkdir "$dirname"
157
255
158
256
if [ "${{ matrix.os }}" = "macos-latest" ]; then
0 commit comments