File tree Expand file tree Collapse file tree 3 files changed +35
-6
lines changed Expand file tree Collapse file tree 3 files changed +35
-6
lines changed Original file line number Diff line number Diff line change 3838 uses : " shivammathur/setup-php@v2"
3939 with :
4040 coverage : " none"
41- php-version : " 8.4 "
41+ php-version : " ${{ matrix.php-version }} "
4242
4343 - name : " Downgrade PHPUnit"
4444 if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
@@ -47,14 +47,22 @@ jobs:
4747 - name : " Install dependencies"
4848 run : " composer install --no-interaction --no-progress"
4949
50+ - name : " Change to simple-downgrade PHP version"
51+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
52+ uses : " shivammathur/setup-php@v2"
53+ with :
54+ coverage : " none"
55+ php-version : " 8.4"
56+
5057 - name : " Transform source code"
5158 if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
5259 run : |
5360 composer install --no-interaction --no-progress --working-dir=compiler
5461 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
5562 composer dump
5663
57- - name : " Change to runtime PHP version"
64+ - name : " Re-store PHP version"
65+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
5866 uses : " shivammathur/setup-php@v2"
5967 with :
6068 coverage : " none"
Original file line number Diff line number Diff line change 4545 uses : " shivammathur/setup-php@v2"
4646 with :
4747 coverage : " none"
48- php-version : " 8.4 "
48+ php-version : " ${{ matrix.php-version }} "
4949 ini-file : development
5050 extensions : mbstring
5151
5757 - name : " Install dependencies"
5858 run : " composer install --no-interaction --no-progress"
5959
60+ - name : " Change to simple-downgrade PHP version"
61+ uses : " shivammathur/setup-php@v2"
62+ with :
63+ coverage : " none"
64+ php-version : " 8.4"
65+ ini-file : development
66+ extensions : mbstring
67+
6068 - name : " Transform source code"
6169 if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
6270 shell : bash
6573 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
6674 composer dump
6775
68- - name : " Change to runtime PHP version"
76+ - name : " Re-store PHP version"
77+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
6978 uses : " shivammathur/setup-php@v2"
7079 with :
7180 coverage : " none"
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ jobs:
170170 uses : " shivammathur/setup-php@v2"
171171 with :
172172 coverage : " none"
173- php-version : " 8.4 "
173+ php-version : " ${{ matrix.php-version }} "
174174 tools : pecl
175175 extensions : ds,mbstring
176176 ini-file : development
@@ -187,14 +187,26 @@ jobs:
187187 shell : bash
188188 run : " composer require --dev phpunit/phpunit:^9.6 brianium/paratest:^6.5 symfony/console:^5.4 symfony/process:^5.4 --update-with-dependencies --ignore-platform-reqs --working-dir=tests"
189189
190+ - name : " Change to simple-downgrade PHP version"
191+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
192+ uses : " shivammathur/setup-php@v2"
193+ with :
194+ coverage : " none"
195+ php-version : " 8.4"
196+ tools : pecl
197+ extensions : ds,mbstring
198+ ini-file : development
199+ ini-values : memory_limit=2G
200+
190201 - name : " Transform source code"
191202 shell : bash
192203 run : |
193204 composer install --no-interaction --no-progress --working-dir=compiler
194205 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
195206 composer dump
196207
197- - name : " Change to runtime PHP version"
208+ - name : " Re-store PHP version"
209+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
198210 uses : " shivammathur/setup-php@v2"
199211 with :
200212 coverage : " none"
You can’t perform that action at this time.
0 commit comments