mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Skip Symfony/Wordpress in 8.1 build Backport nightly.yml
This commit is contained in:
34
.github/workflows/nightly.yml
vendored
34
.github/workflows/nightly.yml
vendored
@@ -26,6 +26,12 @@ on:
|
||||
windows_version:
|
||||
required: true
|
||||
type: string
|
||||
skip_symfony:
|
||||
required: true
|
||||
type: boolean
|
||||
skip_wordpress:
|
||||
required: true
|
||||
type: boolean
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
@@ -227,6 +233,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:${{ inputs.ubuntu_version }}
|
||||
env:
|
||||
PDO_FIREBIRD_TEST_DSN: firebird:dbname=firebird:test.fdb
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.3
|
||||
@@ -235,6 +243,15 @@ jobs:
|
||||
env:
|
||||
MYSQL_DATABASE: test
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
firebird:
|
||||
image: jacobalberty/firebird
|
||||
ports:
|
||||
- 3050:3050
|
||||
env:
|
||||
ISC_PASSWORD: test
|
||||
FIREBIRD_DATABASE: test.fdb
|
||||
FIREBIRD_USER: test
|
||||
FIREBIRD_PASSWORD: test
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -543,7 +560,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
- name: Test Symfony
|
||||
if: always()
|
||||
if: always() && !inputs.skip_symfony
|
||||
run: |
|
||||
git clone https://github.com/symfony/symfony.git --depth=1
|
||||
cd symfony
|
||||
@@ -575,7 +592,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
- name: 'Symfony Preloading'
|
||||
if: always()
|
||||
if: always() && !inputs.skip_symfony
|
||||
run: |
|
||||
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
|
||||
cd symfony_demo
|
||||
@@ -583,7 +600,7 @@ jobs:
|
||||
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
|
||||
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
|
||||
- name: Test Wordpress
|
||||
if: always()
|
||||
if: always() && !inputs.skip_wordpress
|
||||
run: |
|
||||
git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
|
||||
cd wordpress
|
||||
@@ -952,10 +969,18 @@ jobs:
|
||||
- x64: true
|
||||
zts: true
|
||||
opcache: true
|
||||
asan: false
|
||||
- x64: false
|
||||
zts: false
|
||||
opcache: false
|
||||
name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
||||
asan: false
|
||||
- x64: true
|
||||
zts: true
|
||||
opcache: true
|
||||
asan: true
|
||||
branch: 'master'
|
||||
timeout: 120
|
||||
name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}"
|
||||
runs-on: windows-${{ inputs.windows_version }}
|
||||
env:
|
||||
PHP_BUILD_CACHE_BASE_DIR: C:\build-cache
|
||||
@@ -968,6 +993,7 @@ jobs:
|
||||
INTRINSICS: "${{ matrix.zts && 'AVX2' || '' }}"
|
||||
PARALLEL: -j2
|
||||
OPCACHE: "${{ matrix.opcache && '1' || '0' }}"
|
||||
ASAN: "${{ matrix.asan && '1' || '0' }}"
|
||||
steps:
|
||||
- name: git config
|
||||
run: git config --global core.autocrlf false && git config --global core.eol lf
|
||||
|
||||
2
.github/workflows/root.yml
vendored
2
.github/workflows/root.yml
vendored
@@ -59,4 +59,6 @@ jobs:
|
||||
|| ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) && '22.04')
|
||||
|| '20.04' }}
|
||||
windows_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '2022' || '2019' }}
|
||||
skip_symfony: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
|
||||
skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user