Skip to content

Commit

Permalink
[macos11] Remove php package (actions#9237)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-mubarakshin authored Jan 27, 2024
1 parent 47e2999 commit 8f1339b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion images/macos/scripts/docs-gen/Generate-SoftwareReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if ((-not $os.IsVentura) -and (-not $os.IsSonoma)) {
$languageAndRuntime.AddToolVersionsListInline("NVM - Cached node versions", $(Get-NVMNodeVersionList), '^\d+')
}
$languageAndRuntime.AddToolVersion("Perl", $(Get-PerlVersion))
if ((-not $os.IsVenturaArm64) -and (-not $os.IsSonomaArm64)) {
if ((-not $os.IsBigSur) -and (-not $os.IsVenturaArm64) -and (-not $os.IsSonomaArm64)) {
$languageAndRuntime.AddToolVersion("PHP", $(Get-PHPVersion))
}

Expand Down
4 changes: 2 additions & 2 deletions images/macos/scripts/tests/PHP.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
$os = Get-OSVersion

Describe "PHP" {
Context "PHP" -Skip:($os.IsVenturaArm64 -or $os.IsSonomaArm64) {
Context "PHP" -Skip:($os.IsBigSur -or $os.IsVenturaArm64 -or $os.IsSonomaArm64) {
It "PHP Path" {
Get-ToolPath "php" | Should -Not -BeLike "/usr/bin/php*"
}
Expand All @@ -14,7 +14,7 @@ Describe "PHP" {
}
}

Context "Composer" -Skip:($os.IsVenturaArm64 -or $os.IsSonomaArm64) {
Context "Composer" -Skip:($os.IsBigSur -or $os.IsVenturaArm64 -or $os.IsSonomaArm64) {
It "Composer" {
"composer --version" | Should -ReturnZeroExitCode
}
Expand Down
1 change: 0 additions & 1 deletion images/macos/templates/macOS-11.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ build {
"${path.root}/../scripts/build/install-golang.sh",
"${path.root}/../scripts/build/install-swiftlint.sh",
"${path.root}/../scripts/build/install-openjdk.sh",
"${path.root}/../scripts/build/install-php.sh",
"${path.root}/../scripts/build/install-aws-tools.sh",
"${path.root}/../scripts/build/install-rust.sh",
"${path.root}/../scripts/build/install-gcc.sh",
Expand Down
3 changes: 0 additions & 3 deletions images/macos/toolsets/toolset-11.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,6 @@
"llvm": {
"version": "15"
},
"php": {
"version": "8.3"
},
"mongodb": {
"version": "5.0"
},
Expand Down

0 comments on commit 8f1339b

Please sign in to comment.