|
16 | 16 | name: LINUX_PPC64_ASAN_DEBUG_ZTS |
17 | 17 | # This runs on a self-hosted runner; see https://wiki.php.net/systems/ci |
18 | 18 | runs-on: [self-hosted, gentoo, ppc64] |
| 19 | + timeout-minutes: 180 |
19 | 20 | steps: |
20 | 21 | - name: git checkout |
21 | 22 | uses: actions/checkout@v6 |
|
55 | 56 | if: ${{ fromJson(inputs.branch).jobs.ALPINE }} |
56 | 57 | name: ALPINE_X64_ASAN_DEBUG_ZTS |
57 | 58 | runs-on: ubuntu-24.04 |
| 59 | + timeout-minutes: 180 |
58 | 60 | container: |
59 | 61 | image: 'alpine:3.22' |
60 | 62 | steps: |
@@ -130,6 +132,7 @@ jobs: |
130 | 132 | matrix: ${{ fromJson(inputs.branch).jobs.LINUX_X64.matrix }} |
131 | 133 | name: "LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
132 | 134 | runs-on: ubuntu-${{ fromJson(inputs.branch).config.ubuntu_version }} |
| 135 | + timeout-minutes: 180 |
133 | 136 | steps: |
134 | 137 | - name: git checkout |
135 | 138 | uses: actions/checkout@v6 |
@@ -228,6 +231,7 @@ jobs: |
228 | 231 | matrix: ${{ fromJson(inputs.branch).jobs.LINUX_X32.matrix }} |
229 | 232 | name: "LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
230 | 233 | runs-on: ubuntu-latest |
| 234 | + timeout-minutes: 180 |
231 | 235 | container: |
232 | 236 | image: ubuntu:${{ fromJson(inputs.branch).config.ubuntu_version }} |
233 | 237 | env: |
@@ -309,6 +313,7 @@ jobs: |
309 | 313 | matrix: ${{ fromJson(inputs.branch).jobs.MACOS.matrix }} |
310 | 314 | name: "MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
311 | 315 | runs-on: macos-${{ matrix.arch == 'X64' && '15-intel' || fromJson(inputs.branch).jobs.MACOS.config.arm64_version }} |
| 316 | + timeout-minutes: 180 |
312 | 317 | steps: |
313 | 318 | - name: git checkout |
314 | 319 | uses: actions/checkout@v6 |
@@ -386,6 +391,7 @@ jobs: |
386 | 391 | FIREBIRD_USER: test |
387 | 392 | FIREBIRD_PASSWORD: test |
388 | 393 | runs-on: ubuntu-24.04 |
| 394 | + timeout-minutes: 180 |
389 | 395 | steps: |
390 | 396 | - name: git checkout |
391 | 397 | uses: actions/checkout@v6 |
@@ -567,6 +573,10 @@ jobs: |
567 | 573 | php -r '$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php"); $c = str_replace("public function testSanitizeDeepNestedString()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testSanitizeDeepNestedString()", $c); file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php", $c);' |
568 | 574 | # Buggy FFI test in Symfony, see https://github.com/symfony/symfony/issues/47668 |
569 | 575 | php -r '$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c = str_replace("public function testCastNonTrailingCharPointer()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testCastNonTrailingCharPointer()", $c); file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php", $c);' |
| 576 | + # Causes massive amounts of system calls with USE_ZEND_ALLOC=0, exceeding the timeout |
| 577 | + if [ -e 'src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php' ]; then |
| 578 | + php -r '$c = file_get_contents("src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php"); $c = str_replace("public function testReadWithPasteDetectionAbortsBeyondMaxBytes()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testReadWithPasteDetectionAbortsBeyondMaxBytes()", $c); file_put_contents("src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php", $c);' |
| 579 | + fi |
570 | 580 | export SYMFONY_DEPRECATIONS_HELPER=max[total]=999 |
571 | 581 | X=0 |
572 | 582 | for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do |
@@ -642,6 +652,7 @@ jobs: |
642 | 652 | FIREBIRD_PASSWORD: test |
643 | 653 | name: OPCACHE_VARIATION |
644 | 654 | runs-on: ubuntu-${{ fromJson(inputs.branch).config.ubuntu_version }} |
| 655 | + timeout-minutes: 180 |
645 | 656 | steps: |
646 | 657 | - name: git checkout |
647 | 658 | uses: actions/checkout@v6 |
@@ -705,6 +716,7 @@ jobs: |
705 | 716 | if: ${{ fromJson(inputs.branch).jobs.MSAN }} |
706 | 717 | name: MSAN |
707 | 718 | runs-on: ubuntu-${{ fromJson(inputs.branch).config.ubuntu_version }} |
| 719 | + timeout-minutes: 180 |
708 | 720 | steps: |
709 | 721 | - name: git checkout |
710 | 722 | uses: actions/checkout@v6 |
@@ -796,6 +808,7 @@ jobs: |
796 | 808 | if: ${{ fromJson(inputs.branch).jobs.LIBMYSQLCLIENT }} |
797 | 809 | name: LIBMYSQLCLIENT |
798 | 810 | runs-on: ubuntu-${{ fromJson(inputs.branch).config.ubuntu_version }} |
| 811 | + timeout-minutes: 180 |
799 | 812 | steps: |
800 | 813 | - name: git checkout |
801 | 814 | uses: actions/checkout@v6 |
@@ -834,6 +847,7 @@ jobs: |
834 | 847 | matrix: ${{ fromJson(inputs.branch).jobs.WINDOWS.matrix }} |
835 | 848 | name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}${{ matrix.clang && '_CLANG' || ''}}" |
836 | 849 | runs-on: ${{ fromJson(inputs.branch).jobs.WINDOWS.config.runs_on }} |
| 850 | + timeout-minutes: 180 |
837 | 851 | env: |
838 | 852 | PHP_BUILD_CACHE_BASE_DIR: C:\build-cache |
839 | 853 | PHP_BUILD_OBJ_DIR: C:\obj |
|
0 commit comments