|
35 | 35 | LINUX_X64: |
36 | 36 | needs: GENERATE_MATRIX |
37 | 37 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
| 38 | + services: |
| 39 | + postgres: |
| 40 | + image: postgres |
| 41 | + env: |
| 42 | + POSTGRES_USER: postgres |
| 43 | + POSTGRES_PASSWORD: postgres |
| 44 | + POSTGRES_DB: test |
38 | 45 | strategy: |
39 | 46 | fail-fast: false |
40 | 47 | matrix: |
|
47 | 54 | zts: [true, false] |
48 | 55 | include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }} |
49 | 56 | name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
50 | | - runs-on: ubuntu-20.04 |
| 57 | + runs-on: ubuntu-22.04 |
51 | 58 | steps: |
52 | 59 | - name: git checkout |
53 | 60 | uses: actions/checkout@v3 |
@@ -122,7 +129,7 @@ jobs: |
122 | 129 | name: "${{ matrix.branch.name }}_LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
123 | 130 | runs-on: ubuntu-latest |
124 | 131 | container: |
125 | | - image: ubuntu:20.04 |
| 132 | + image: ubuntu:22.04 |
126 | 133 | env: |
127 | 134 | MYSQL_TEST_HOST: mysql |
128 | 135 | PDO_MYSQL_TEST_DSN: mysql:host=mysql;dbname=test |
@@ -246,7 +253,14 @@ jobs: |
246 | 253 | uses: ./.github/actions/verify-generated-files |
247 | 254 | COVERAGE_DEBUG_NTS: |
248 | 255 | if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch' |
249 | | - runs-on: ubuntu-20.04 |
| 256 | + services: |
| 257 | + postgres: |
| 258 | + image: postgres |
| 259 | + env: |
| 260 | + POSTGRES_USER: postgres |
| 261 | + POSTGRES_PASSWORD: postgres |
| 262 | + POSTGRES_DB: test |
| 263 | + runs-on: ubuntu-22.04 |
250 | 264 | steps: |
251 | 265 | - name: git checkout |
252 | 266 | uses: actions/checkout@v3 |
@@ -286,7 +300,7 @@ jobs: |
286 | 300 | matrix: |
287 | 301 | branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }} |
288 | 302 | name: "${{ matrix.branch.name }}_COMMUNITY" |
289 | | - runs-on: ubuntu-20.04 |
| 303 | + runs-on: ubuntu-22.04 |
290 | 304 | env: |
291 | 305 | UBSAN_OPTIONS: print_stacktrace=1 |
292 | 306 | USE_ZEND_ALLOC: 0 |
@@ -396,12 +410,19 @@ jobs: |
396 | 410 | OPCACHE_VARIATION: |
397 | 411 | needs: GENERATE_MATRIX |
398 | 412 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
| 413 | + services: |
| 414 | + postgres: |
| 415 | + image: postgres |
| 416 | + env: |
| 417 | + POSTGRES_USER: postgres |
| 418 | + POSTGRES_PASSWORD: postgres |
| 419 | + POSTGRES_DB: test |
399 | 420 | strategy: |
400 | 421 | fail-fast: false |
401 | 422 | matrix: |
402 | 423 | branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }} |
403 | 424 | name: "${{ matrix.branch.name }}_OPCACHE_VARIATION" |
404 | | - runs-on: ubuntu-20.04 |
| 425 | + runs-on: ubuntu-22.04 |
405 | 426 | steps: |
406 | 427 | - name: git checkout |
407 | 428 | uses: actions/checkout@v3 |
@@ -567,7 +588,7 @@ jobs: |
567 | 588 | exclude: |
568 | 589 | - branch: { name: 'PHP-80', ref: 'PHP-8.0' } |
569 | 590 | name: "${{ matrix.branch.name }}_LIBMYSQLCLIENT" |
570 | | - runs-on: ubuntu-20.04 |
| 591 | + runs-on: ubuntu-22.04 |
571 | 592 | steps: |
572 | 593 | - name: git checkout |
573 | 594 | uses: actions/checkout@v3 |
@@ -614,7 +635,7 @@ jobs: |
614 | 635 | uses: ./.github/actions/verify-generated-files |
615 | 636 | PECL: |
616 | 637 | if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch' |
617 | | - runs-on: ubuntu-20.04 |
| 638 | + runs-on: ubuntu-22.04 |
618 | 639 | env: |
619 | 640 | CC: ccache gcc |
620 | 641 | CXX: ccache g++ |
|
0 commit comments