Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 30, 2024
1 parent a49ac45 commit 879ffc0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/BuildRequirementsCheckMatrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,21 @@ private function getMissingExtensionsBuilds()
'missing tokenizer' => 'none, xmlwriter, SimpleXML',
'missing xmlwriter' => ':xmlwriter',
'missing SimpleXML' => ':SimpleXML',
'missing both XML exts' => ':xmlwriter, :SimpleXML',
'missing both XML exts' => 'none, tokenizer',
];

$builds = [];
foreach ($this->validPhp as $php) {
foreach ($this->cmd as $cmd) {
foreach ($extensions as $name => $exts) {
foreach ($this->os as $os) {
// Skip the extension requirements check on Windows as the required extensions cannot be
// disabled on Windows. They are compiled statically into the PHP binary.
// Ref: https://github.com/shivammathur/setup-php/issues/887
if ($os === 'windows-latest') {
continue;
}

$builds[] = [
'name' => "$name",
'os' => $os,
Expand Down

0 comments on commit 879ffc0

Please sign in to comment.