@@ -189,3 +189,74 @@ jobs:
189
189
- name : Upload Test Coverage to Codecov.io
190
190
if : always()
191
191
run : bash <(curl -s https://codecov.io/bash)
192
+ OPCACHE_VARIATION :
193
+ needs : GENERATE_MATRIX
194
+ if : ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
195
+ strategy :
196
+ fail-fast : false
197
+ matrix :
198
+ branch : ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
199
+ name : " ${{ matrix.branch.name }}_OPCACHE_VARIATION"
200
+ runs-on : ubuntu-20.04
201
+ steps :
202
+ - name : git checkout
203
+ uses : actions/checkout@v2
204
+ with :
205
+ ref : ${{ matrix.branch.ref }}
206
+ - name : Create MSSQL container
207
+ uses : ./.github/actions/setup-mssql
208
+ - name : Create Oracle container
209
+ uses : ./.github/actions/setup-oracle
210
+ - name : apt
211
+ uses : ./.github/actions/apt-x64
212
+ - name : ./configure
213
+ uses : ./.github/actions/configure-x64
214
+ with :
215
+ configurationParameters : >-
216
+ --enable-debug --disable-zts
217
+ - name : make
218
+ run : make -j$(/usr/bin/nproc) >/dev/null
219
+ - name : make install
220
+ uses : ./.github/actions/install-linux
221
+ - name : Setup
222
+ uses : ./.github/actions/setup-x64
223
+ - name : Test File Cache (prime shm)
224
+ uses : ./.github/actions/test-linux
225
+ with :
226
+ runTestsParameters : >-
227
+ -d zend_extension=opcache.so
228
+ -d opcache.enable_cli=1
229
+ --file-cache-prime
230
+ - name : Test File Cache (prime shm, use shm)
231
+ uses : ./.github/actions/test-linux
232
+ with :
233
+ runTestsParameters : >-
234
+ -d zend_extension=opcache.so
235
+ -d opcache.enable_cli=1
236
+ --file-cache-use
237
+ - name : Test File Cache (prime shm, use file)
238
+ uses : ./.github/actions/test-linux
239
+ with :
240
+ runTestsParameters : >-
241
+ -d zend_extension=opcache.so
242
+ -d opcache.enable_cli=1
243
+ --file-cache-use
244
+ -d opcache.file_cache_only=1
245
+ - name : Test File Cache Only (prime)
246
+ uses : ./.github/actions/test-linux
247
+ with :
248
+ runTestsParameters : >-
249
+ -d zend_extension=opcache.so
250
+ -d opcache.enable_cli=1
251
+ --file-cache-prime
252
+ -d opcache.file_cache_only=1
253
+ - name : Test File Cache Only (use)
254
+ uses : ./.github/actions/test-linux
255
+ with :
256
+ runTestsParameters : >-
257
+ -d zend_extension=opcache.so
258
+ -d opcache.enable_cli=1
259
+ --file-cache-use
260
+ -d opcache.file_cache_only=1
261
+ - name : Verify generated files are up to date
262
+ uses : ./.github/actions/verify-generated-files
0 commit comments