Skip to content

Commit 43585b3

Browse files
iluuu1994charmitro
authored andcommitted
Skip Symfony/Wordpress in 8.1 build
There are two issues: The latest Symfony branches don't support 8.1 anymore. This could ber mitigated by switching to LTS for security builds. However, there are also some JIT bugs that are hard to backport. We'll skip these builds on 8.1 instead.
1 parent e82223f commit 43585b3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ on:
2626
windows_version:
2727
required: true
2828
type: string
29+
skip_symfony:
30+
required: true
31+
type: boolean
32+
skip_wordpress:
33+
required: true
34+
type: boolean
2935
permissions:
3036
contents: read
3137
jobs:
@@ -554,7 +560,7 @@ jobs:
554560
exit 1
555561
fi
556562
- name: Test Symfony
557-
if: always()
563+
if: always() && !inputs.skip_symfony
558564
run: |
559565
git clone https://github.com/symfony/symfony.git --depth=1
560566
cd symfony
@@ -586,15 +592,15 @@ jobs:
586592
exit 1
587593
fi
588594
- name: 'Symfony Preloading'
589-
if: always()
595+
if: always() && !inputs.skip_symfony
590596
run: |
591597
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
592598
cd symfony_demo
593599
git rev-parse HEAD
594600
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
595601
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
596602
- name: Test Wordpress
597-
if: always()
603+
if: always() && !inputs.skip_wordpress
598604
run: |
599605
git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
600606
cd wordpress

.github/workflows/root.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@ jobs:
5959
|| ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) && '22.04')
6060
|| '20.04' }}
6161
windows_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '2022' || '2019' }}
62+
skip_symfony: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
63+
skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
6264
secrets: inherit

0 commit comments

Comments
 (0)