@@ -144,12 +144,15 @@ function select_jobs($repository, $trigger, $nightly, $labels, $php_version, $re
144144 $ jobs ['SOLARIS ' ] = true ;
145145 }
146146 if ($ all_jobs || !$ no_jobs || $ test_windows ) {
147- $ jobs ['WINDOWS ' ]['matrix ' ] = $ all_variations
148- ? ['include ' => [
149- ['asan ' => true , 'opcache ' => true , 'x64 ' => true , 'zts ' => true ],
150- ['asan ' => false , 'opcache ' => false , 'x64 ' => false , 'zts ' => false ],
151- ]]
152- : ['include ' => [['asan ' => false , 'opcache ' => true , 'x64 ' => true , 'zts ' => true ]]];
147+ $ matrix = [['asan ' => false , 'opcache ' => true , 'x64 ' => true , 'zts ' => true ]];
148+ if ($ all_variations ) {
149+ $ matrix [] = ['asan ' => true , 'opcache ' => true , 'x64 ' => true , 'zts ' => true ];
150+ $ matrix [] = ['asan ' => false , 'opcache ' => false , 'x64 ' => false , 'zts ' => false ];
151+ if (version_compare ($ php_version , '8.5 ' , '>= ' )) {
152+ $ matrix [] = ['asan ' => false , 'opcache ' => true , 'x64 ' => true , 'zts ' => true , 'clang ' => true ];
153+ }
154+ }
155+ $ jobs ['WINDOWS ' ]['matrix ' ] = ['include ' => $ matrix ];
153156 $ jobs ['WINDOWS ' ]['config ' ] = version_compare ($ php_version , '8.4 ' , '>= ' )
154157 ? ['vs_crt_version ' => 'vs17 ' ]
155158 : ['vs_crt_version ' => 'vs16 ' ];
0 commit comments