mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 12:06:59 +00:00
[macOS] install X libraries (#4777)
This commit is contained in:
@@ -522,6 +522,16 @@ function Get-ZlibVersion {
|
||||
return "Zlib $zlibVersion"
|
||||
}
|
||||
|
||||
function Get-LibXftVersion {
|
||||
$libXftVersion = (brew info libxft)[0] | Take-Part -Part 2
|
||||
return "libXft $libXftVersion"
|
||||
}
|
||||
|
||||
function Get-LibXextVersion {
|
||||
$libXextVersion = (brew info libxext)[0] | Take-Part -Part 2
|
||||
return "libXext $libXextVersion"
|
||||
}
|
||||
|
||||
function Build-PackageManagementEnvironmentTable {
|
||||
return @(
|
||||
@{
|
||||
|
||||
@@ -292,7 +292,12 @@ $markdown += Build-AndroidEnvironmentTable | New-MDTable
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
$markdown += New-MDHeader "Miscellaneous" -Level 3
|
||||
$markdown += New-MDList -Lines @(Get-ZlibVersion) -Style Unordered
|
||||
$markdown += New-MDList -Style Unordered -Lines (@(
|
||||
(Get-ZlibVersion),
|
||||
(Get-LibXextVersion),
|
||||
(Get-LibXftVersion)
|
||||
) | Sort-Object
|
||||
)
|
||||
|
||||
#
|
||||
# Generate systeminfo.txt with information about image (for debug purpose)
|
||||
|
||||
@@ -225,7 +225,9 @@
|
||||
"swig",
|
||||
"xctool",
|
||||
"zstd",
|
||||
"zlib"
|
||||
"zlib",
|
||||
"libxext",
|
||||
"libxft"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia",
|
||||
|
||||
@@ -185,7 +185,9 @@
|
||||
"swiftformat",
|
||||
"swig",
|
||||
"zstd",
|
||||
"zlib"
|
||||
"zlib",
|
||||
"libxext",
|
||||
"libxft"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia"
|
||||
|
||||
@@ -100,7 +100,9 @@
|
||||
"swig",
|
||||
"zstd",
|
||||
"gmp",
|
||||
"zlib"
|
||||
"zlib",
|
||||
"libxext",
|
||||
"libxft"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia"
|
||||
|
||||
Reference in New Issue
Block a user