[skip ci] Skip JIT tests for Apple Silicon + ZTS

JIT will be disabled for Apple Silicon + ZTS anyway. See:

6db95512b4
This commit is contained in:
Ilija Tovilo 2024-02-18 00:19:01 +01:00
parent 9f1b43f508
commit ec9b68cb6a
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A
2 changed files with 5 additions and 1 deletions

View File

@ -100,8 +100,9 @@ function get_macos_matrix_include(array $branches) {
'branch' => $branch,
'debug' => $debug,
'zts' => $zts,
'os' => $branch === 'master' ? '13' : '12',
'os' => $branch['name'] === 'master' ? '13' : '12',
'arch' => 'X64',
'test_jit' => true,
];
if ($branch['version']['minor'] >= 4 || $branch['version']['major'] >= 9) {
$jobs[] = [
@ -110,6 +111,7 @@ function get_macos_matrix_include(array $branches) {
'zts' => $zts,
'os' => '14',
'arch' => 'ARM64',
'test_jit' => !$zts,
];
}
}

View File

@ -256,6 +256,7 @@ jobs:
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
- name: Test Tracing JIT
if: matrix.test_jit
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
@ -271,6 +272,7 @@ jobs:
-d zend_extension=opcache.so
-d opcache.enable_cli=1
- name: Test Function JIT
if: matrix.test_jit
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT