|
54 | 54 | zts: [true, false]
|
55 | 55 | include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
|
56 | 56 | name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
57 |
| - runs-on: ubuntu-22.04 |
| 57 | + runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
58 | 58 | steps:
|
59 | 59 | - name: git checkout
|
60 | 60 | uses: actions/checkout@v3
|
@@ -129,7 +129,7 @@ jobs:
|
129 | 129 | name: "${{ matrix.branch.name }}_LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
130 | 130 | runs-on: ubuntu-latest
|
131 | 131 | container:
|
132 |
| - image: ubuntu:22.04 |
| 132 | + image: ubuntu:${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
133 | 133 | env:
|
134 | 134 | MYSQL_TEST_HOST: mysql
|
135 | 135 | PDO_MYSQL_TEST_DSN: mysql:host=mysql;dbname=test
|
@@ -300,7 +300,7 @@ jobs:
|
300 | 300 | matrix:
|
301 | 301 | branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
|
302 | 302 | name: "${{ matrix.branch.name }}_COMMUNITY"
|
303 |
| - runs-on: ubuntu-22.04 |
| 303 | + runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
304 | 304 | env:
|
305 | 305 | UBSAN_OPTIONS: print_stacktrace=1
|
306 | 306 | USE_ZEND_ALLOC: 0
|
@@ -422,7 +422,7 @@ jobs:
|
422 | 422 | matrix:
|
423 | 423 | branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
|
424 | 424 | name: "${{ matrix.branch.name }}_OPCACHE_VARIATION"
|
425 |
| - runs-on: ubuntu-22.04 |
| 425 | + runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
426 | 426 | steps:
|
427 | 427 | - name: git checkout
|
428 | 428 | uses: actions/checkout@v3
|
@@ -493,7 +493,7 @@ jobs:
|
493 | 493 | matrix:
|
494 | 494 | branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
|
495 | 495 | name: "${{ matrix.branch.name }}_MSAN"
|
496 |
| - runs-on: ubuntu-22.04 |
| 496 | + runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
497 | 497 | steps:
|
498 | 498 | - name: git checkout
|
499 | 499 | uses: actions/checkout@v3
|
@@ -588,7 +588,7 @@ jobs:
|
588 | 588 | exclude:
|
589 | 589 | - branch: { name: 'PHP-80', ref: 'PHP-8.0' }
|
590 | 590 | name: "${{ matrix.branch.name }}_LIBMYSQLCLIENT"
|
591 |
| - runs-on: ubuntu-22.04 |
| 591 | + runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }} |
592 | 592 | steps:
|
593 | 593 | - name: git checkout
|
594 | 594 | uses: actions/checkout@v3
|
|
0 commit comments