Skip to content

Commit

Permalink
[skip ci] Skip JIT tests for Apple Silicon + ZTS
Browse files Browse the repository at this point in the history
JIT will be disabled for Apple Silicon + ZTS anyway. See:

6db9551
  • Loading branch information
iluuu1994 committed Feb 17, 2024
1 parent 9f1b43f commit ec9b68c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/nightly_matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
Expand All @@ -110,6 +111,7 @@ function get_macos_matrix_include(array $branches) {
'zts' => $zts,
'os' => '14',
'arch' => 'ARM64',
'test_jit' => !$zts,
];
}
}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ec9b68c

Please sign in to comment.