mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
9a2e5cfccb
I'm not sure it's needed, but let's try it: Add the scheduled builds on PHP-7.4 and PHP-8.0 as well, rather than just master.
98 lines
3.4 KiB
YAML
98 lines
3.4 KiB
YAML
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- PHP-7.4
|
|
- master
|
|
paths:
|
|
exclude:
|
|
- docs/*
|
|
- NEWS
|
|
- UPGRADING
|
|
- UPGRADING.INTERNALS
|
|
|
|
schedules:
|
|
- cron: "0 1 * * *"
|
|
displayName: Nightly build
|
|
branches:
|
|
include:
|
|
- PHP-7.4
|
|
- master
|
|
|
|
jobs:
|
|
- template: azure/job.yml
|
|
parameters:
|
|
configurationName: DEBUG_NTS
|
|
configurationParameters: '--enable-debug --disable-maintainer-zts'
|
|
- template: azure/job.yml
|
|
parameters:
|
|
configurationName: RELEASE_ZTS
|
|
configurationParameters: '--disable-debug --enable-maintainer-zts'
|
|
- template: azure/i386/job.yml
|
|
parameters:
|
|
configurationName: I386_DEBUG_ZTS
|
|
configurationParameters: '--enable-debug --enable-maintainer-zts'
|
|
- template: azure/macos/job.yml
|
|
parameters:
|
|
configurationName: MACOS_DEBUG_NTS
|
|
configurationParameters: '--enable-debug --disable-maintainer-zts'
|
|
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
|
|
- template: azure/job.yml
|
|
parameters:
|
|
configurationName: DEBUG_ZTS
|
|
configurationParameters: '--enable-debug --enable-maintainer-zts'
|
|
- template: azure/job.yml
|
|
parameters:
|
|
configurationName: RELEASE_NTS
|
|
configurationParameters: '--disable-debug --disable-maintainer-zts'
|
|
- template: azure/i386/job.yml
|
|
parameters:
|
|
configurationName: I386_DEBUG_NTS
|
|
configurationParameters: '--enable-debug --disable-maintainer-zts'
|
|
- template: azure/i386/job.yml
|
|
parameters:
|
|
configurationName: I386_RELEASE_NTS
|
|
configurationParameters: '--disable-debug --disable-maintainer-zts'
|
|
- template: azure/i386/job.yml
|
|
parameters:
|
|
configurationName: I386_RELEASE_ZTS
|
|
configurationParameters: '--disable-debug --enable-maintainer-zts'
|
|
- template: azure/macos/job.yml
|
|
parameters:
|
|
configurationName: MACOS_DEBUG_ZTS
|
|
configurationParameters: '--enable-debug --enable-maintainer-zts'
|
|
- template: azure/macos/job.yml
|
|
parameters:
|
|
configurationName: MACOS_RELEASE_NTS
|
|
configurationParameters: '--disable-debug --disable-maintainer-zts'
|
|
- template: azure/macos/job.yml
|
|
parameters:
|
|
configurationName: MACOS_RELEASE_ZTS
|
|
configurationParameters: '--disable-debug --enable-maintainer-zts'
|
|
- template: azure/job.yml
|
|
parameters:
|
|
configurationName: DEBUG_ZTS_ASAN_UBSAN
|
|
configurationParameters: >-
|
|
--enable-debug --enable-maintainer-zts
|
|
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
|
|
LDFLAGS='-fsanitize=undefined,address'
|
|
runTestsParameters: --asan
|
|
timeoutInMinutes: 120
|
|
- template: azure/msan_job.yml
|
|
parameters:
|
|
configurationName: DEBUG_ZTS_MSAN
|
|
configurationParameters: '--enable-debug --enable-maintainer-zts'
|
|
runTestsParameters: --asan
|
|
- template: azure/community_job.yml
|
|
parameters:
|
|
configurationName: COMMUNITY
|
|
configurationParameters: >-
|
|
--enable-debug --enable-maintainer-zts
|
|
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
|
|
LDFLAGS='-fsanitize=undefined,address'
|
|
- template: azure/coverage_job.yml
|
|
parameters:
|
|
configurationName: COVERAGE_DEBUG_ZTS
|
|
configurationParameters: '--enable-debug --disable-maintainer-zts'
|
|
timeoutInMinutes: 90
|