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
2935permissions :
3036 contents : read
3137jobs :
@@ -227,6 +233,8 @@ jobs:
227233 runs-on : ubuntu-latest
228234 container :
229235 image : ubuntu:${{ inputs.ubuntu_version }}
236+ env :
237+ PDO_FIREBIRD_TEST_DSN : firebird:dbname=firebird:test.fdb
230238 services :
231239 mysql :
232240 image : mysql:8.3
@@ -235,6 +243,15 @@ jobs:
235243 env :
236244 MYSQL_DATABASE : test
237245 MYSQL_ROOT_PASSWORD : root
246+ firebird :
247+ image : jacobalberty/firebird
248+ ports :
249+ - 3050:3050
250+ env :
251+ ISC_PASSWORD : test
252+ FIREBIRD_DATABASE : test.fdb
253+ FIREBIRD_USER : test
254+ FIREBIRD_PASSWORD : test
238255 steps :
239256 - name : git checkout
240257 uses : actions/checkout@v4
@@ -543,7 +560,7 @@ jobs:
543560 exit 1
544561 fi
545562 - name : Test Symfony
546- if : always()
563+ if : always() && !inputs.skip_symfony
547564 run : |
548565 git clone https://github.com/symfony/symfony.git --depth=1
549566 cd symfony
@@ -575,15 +592,15 @@ jobs:
575592 exit 1
576593 fi
577594 - name : ' Symfony Preloading'
578- if : always()
595+ if : always() && !inputs.skip_symfony
579596 run : |
580597 php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
581598 cd symfony_demo
582599 git rev-parse HEAD
583600 sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
584601 php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
585602 - name : Test Wordpress
586- if : always()
603+ if : always() && !inputs.skip_wordpress
587604 run : |
588605 git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
589606 cd wordpress
@@ -952,10 +969,18 @@ jobs:
952969 - x64 : true
953970 zts : true
954971 opcache : true
972+ asan : false
955973 - x64 : false
956974 zts : false
957975 opcache : false
958- name : " WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
976+ asan : false
977+ - x64 : true
978+ zts : true
979+ opcache : true
980+ asan : true
981+ branch : ' master'
982+ timeout : 120
983+ name : " WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}"
959984 runs-on : windows-${{ inputs.windows_version }}
960985 env :
961986 PHP_BUILD_CACHE_BASE_DIR : C:\build-cache
@@ -968,6 +993,7 @@ jobs:
968993 INTRINSICS : " ${{ matrix.zts && 'AVX2' || '' }}"
969994 PARALLEL : -j2
970995 OPCACHE : " ${{ matrix.opcache && '1' || '0' }}"
996+ ASAN : " ${{ matrix.asan && '1' || '0' }}"
971997 steps :
972998 - name : git config
973999 run : git config --global core.autocrlf false && git config --global core.eol lf
0 commit comments