mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: [skip ci] Fix Symfony PHP requirements in community build
This commit is contained in:
11
.github/workflows/nightly.yml
vendored
11
.github/workflows/nightly.yml
vendored
@@ -41,9 +41,9 @@ on:
|
||||
skip_laravel:
|
||||
required: true
|
||||
type: boolean
|
||||
skip_symfony:
|
||||
symfony_version:
|
||||
required: true
|
||||
type: boolean
|
||||
type: string
|
||||
skip_wordpress:
|
||||
required: true
|
||||
type: boolean
|
||||
@@ -590,9 +590,9 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
- name: Test Symfony
|
||||
if: ${{ !cancelled() && !inputs.skip_symfony }}
|
||||
if: ${{ !cancelled() && inputs.symfony_version != '' }}
|
||||
run: |
|
||||
git clone https://github.com/symfony/symfony.git --depth=1
|
||||
git clone https://github.com/symfony/symfony.git --depth=1 --branch="${{ inputs.symfony_version }}"
|
||||
cd symfony
|
||||
git rev-parse HEAD
|
||||
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
|
||||
@@ -626,7 +626,8 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
- name: 'Symfony Preloading'
|
||||
if: ${{ !cancelled() && !inputs.skip_symfony }}
|
||||
# composer create-project will automatically pick the right Symfony version for us.
|
||||
if: ${{ !cancelled() && inputs.symfony_version != '' }}
|
||||
run: |
|
||||
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-req=php+
|
||||
cd symfony_demo
|
||||
|
||||
4
.github/workflows/root.yml
vendored
4
.github/workflows/root.yml
vendored
@@ -58,7 +58,9 @@ jobs:
|
||||
windows_version: '2022'
|
||||
vs_crt_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) && 'vs17') || 'vs16' }}
|
||||
skip_laravel: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
|
||||
skip_symfony: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
|
||||
symfony_version: ${{ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '8.1')
|
||||
|| ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 2) && '7.4')
|
||||
|| '' }}
|
||||
skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
|
||||
variation_enable_zend_max_execution_timers: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user