Skip to content

Commit 036009b

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Move Opcache variation job to GitHub actions
2 parents 035e228 + b1e112f commit 036009b

File tree

3 files changed

+71
-93
lines changed

3 files changed

+71
-93
lines changed

.github/workflows/nightly.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,3 +300,74 @@ jobs:
300300
git rev-parse HEAD
301301
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
302302
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
303+
OPCACHE_VARIATION:
304+
needs: GENERATE_MATRIX
305+
if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
306+
strategy:
307+
fail-fast: false
308+
matrix:
309+
branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
310+
name: "${{ matrix.branch.name }}_OPCACHE_VARIATION"
311+
runs-on: ubuntu-20.04
312+
steps:
313+
- name: git checkout
314+
uses: actions/checkout@v2
315+
with:
316+
ref: ${{ matrix.branch.ref }}
317+
- name: Create MSSQL container
318+
uses: ./.github/actions/setup-mssql
319+
- name: Create Oracle container
320+
uses: ./.github/actions/setup-oracle
321+
- name: apt
322+
uses: ./.github/actions/apt-x64
323+
- name: ./configure
324+
uses: ./.github/actions/configure-x64
325+
with:
326+
configurationParameters: >-
327+
--enable-debug --disable-zts
328+
- name: make
329+
run: make -j$(/usr/bin/nproc) >/dev/null
330+
- name: make install
331+
uses: ./.github/actions/install-linux
332+
- name: Setup
333+
uses: ./.github/actions/setup-x64
334+
- name: Test File Cache (prime shm)
335+
uses: ./.github/actions/test-linux
336+
with:
337+
runTestsParameters: >-
338+
-d zend_extension=opcache.so
339+
-d opcache.enable_cli=1
340+
--file-cache-prime
341+
- name: Test File Cache (prime shm, use shm)
342+
uses: ./.github/actions/test-linux
343+
with:
344+
runTestsParameters: >-
345+
-d zend_extension=opcache.so
346+
-d opcache.enable_cli=1
347+
--file-cache-use
348+
- name: Test File Cache (prime shm, use file)
349+
uses: ./.github/actions/test-linux
350+
with:
351+
runTestsParameters: >-
352+
-d zend_extension=opcache.so
353+
-d opcache.enable_cli=1
354+
--file-cache-use
355+
-d opcache.file_cache_only=1
356+
- name: Test File Cache Only (prime)
357+
uses: ./.github/actions/test-linux
358+
with:
359+
runTestsParameters: >-
360+
-d zend_extension=opcache.so
361+
-d opcache.enable_cli=1
362+
--file-cache-prime
363+
-d opcache.file_cache_only=1
364+
- name: Test File Cache Only (use)
365+
uses: ./.github/actions/test-linux
366+
with:
367+
runTestsParameters: >-
368+
-d zend_extension=opcache.so
369+
-d opcache.enable_cli=1
370+
--file-cache-use
371+
-d opcache.file_cache_only=1
372+
- name: Verify generated files are up to date
373+
uses: ./.github/actions/verify-generated-files

azure-pipelines.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ jobs:
5252
configurationParameters: '--enable-debug --enable-zts'
5353
runTestsParameters: --msan
5454
timeoutInMinutes: 90
55-
- template: azure/opcache_variation_job.yml
56-
parameters:
57-
configurationName: DEBUG_NTS_OPCACHE
58-
configurationParameters: '--enable-debug --disable-zts'
59-
timeoutInMinutes: 120
6055
- template: azure/job.yml
6156
parameters:
6257
configurationName: DEBUG_NTS_REPEAT

azure/opcache_variation_job.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)