Skip to content

Add Symfony back in the community test suite #4666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 6 additions & 69 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,73 +12,10 @@ trigger:
- UPGRADING.INTERNALS

jobs:
- template: azure/job.yml
- template: azure/community_job.yml
parameters:
configurationName: DEBUG_NTS
configurationParameters: '--enable-debug --disable-zts'
- template: azure/job.yml
parameters:
configurationName: RELEASE_ZTS
configurationParameters: '--disable-debug --enable-zts'
- template: azure/i386/job.yml
parameters:
configurationName: I386_DEBUG_ZTS
configurationParameters: '--enable-debug --enable-zts'
- template: azure/macos/job.yml
parameters:
configurationName: MACOS_DEBUG_NTS
configurationParameters: '--enable-debug --disable-zts'
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: azure/job.yml
parameters:
configurationName: DEBUG_ZTS
configurationParameters: '--enable-debug --enable-zts'
- template: azure/job.yml
parameters:
configurationName: RELEASE_NTS
configurationParameters: '--disable-debug --disable-zts'
- template: azure/i386/job.yml
parameters:
configurationName: I386_DEBUG_NTS
configurationParameters: '--enable-debug --disable-zts'
- template: azure/i386/job.yml
parameters:
configurationName: I386_RELEASE_NTS
configurationParameters: '--disable-debug --disable-zts'
- template: azure/i386/job.yml
parameters:
configurationName: I386_RELEASE_ZTS
configurationParameters: '--disable-debug --enable-zts'
- template: azure/macos/job.yml
parameters:
configurationName: MACOS_DEBUG_ZTS
configurationParameters: '--enable-debug --enable-zts'
- template: azure/macos/job.yml
parameters:
configurationName: MACOS_RELEASE_NTS
configurationParameters: '--disable-debug --disable-zts'
- template: azure/macos/job.yml
parameters:
configurationName: MACOS_RELEASE_ZTS
configurationParameters: '--disable-debug --enable-zts'
- template: azure/job.yml
parameters:
configurationName: DEBUG_ZTS_ASAN_UBSAN
configurationParameters: >-
--enable-debug --enable-zts
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
LDFLAGS='-fsanitize=undefined,address'
runTestsParameters: --asan
timeoutInMinutes: 150
- template: azure/msan_job.yml
parameters:
configurationName: DEBUG_ZTS_MSAN
configurationParameters: '--enable-debug --enable-zts'
runTestsParameters: --asan
- template: azure/community_job.yml
parameters:
configurationName: COMMUNITY
configurationParameters: >-
--enable-debug --enable-zts
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
LDFLAGS='-fsanitize=undefined,address'
configurationName: COMMUNITY
configurationParameters: >-
--enable-debug --enable-zts
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
LDFLAGS='-fsanitize=undefined,address'
31 changes: 15 additions & 16 deletions azure/community_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,21 @@ jobs:
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
php vendor/bin/phpunit
displayName: 'Test Laravel'
# Symfony has complicated custom PHPUnit handling -- we'd at least need an
# --ignore-platform-reqs in there, or run the install under a different version.
#- script: |
#- git clone https://github.com/symfony/symfony.git --branch=master --depth=1
#- cd symfony
#- php7.3 /usr/bin/composer install --no-progress
#- export USE_ZEND_ALLOC=0
#- export USE_TRACKED_ALLOC=1
#- export ASAN_OPTIONS=exitcode=139
#- # Close stdin because we hang on some kind of tty test otherwise.
#- php ./phpunit 0<&-
#- if [ $? -gt 128 ]; then
#- exit 1
#- fi
#- displayName: 'Test Symfony'
#- condition: or(succeeded(), failed())
- script: |
git clone https://github.com/symfony/symfony.git --branch=master --depth=1
cd symfony
composer config --global preferred-install dist
php7.3 /usr/bin/composer install --no-progress
php7.3 ./phpunit install
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139
php ./phpunit --exclude-group tty,benchmark,intl-data,transient
if [ $? -gt 128 ]; then
exit 1
fi
displayName: 'Test Symfony'
condition: or(succeeded(), failed())
- script: |
git clone https://github.com/amphp/amp.git --branch=master --depth=1
cd amp
Expand Down