Skip to content

Commit 1bef2e5

Browse files
committed
Move Opcache variation job to GitHub actions
Closes GH-9606
1 parent e488f7b commit 1bef2e5

File tree

3 files changed

+71
-68
lines changed

3 files changed

+71
-68
lines changed

.github/workflows/nightly.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,74 @@ jobs:
189189
- name: Upload Test Coverage to Codecov.io
190190
if: always()
191191
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

azure-pipelines.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,3 @@ jobs:
5555
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
5656
LDFLAGS='-fsanitize=undefined,address'
5757
timeoutInMinutes: 90
58-
- template: azure/file_cache_job.yml
59-
parameters:
60-
configurationName: DEBUG_NTS_FILE_CACHE
61-
configurationParameters: '--enable-debug --disable-zts'
62-
timeoutInMinutes: 90

azure/file_cache_job.yml

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

0 commit comments

Comments
 (0)