Skip to content

Commit b1e112f

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Move Opcache variation job to GitHub actions
2 parents 7a8c1a2 + 9820098 commit b1e112f

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