mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[macOS] install X libraries (#4777)
This commit is contained in:
@@ -522,6 +522,16 @@ function Get-ZlibVersion {
|
|||||||
return "Zlib $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 {
|
function Build-PackageManagementEnvironmentTable {
|
||||||
return @(
|
return @(
|
||||||
@{
|
@{
|
||||||
|
|||||||
@@ -292,7 +292,12 @@ $markdown += Build-AndroidEnvironmentTable | New-MDTable
|
|||||||
$markdown += New-MDNewLine
|
$markdown += New-MDNewLine
|
||||||
|
|
||||||
$markdown += New-MDHeader "Miscellaneous" -Level 3
|
$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)
|
# Generate systeminfo.txt with information about image (for debug purpose)
|
||||||
|
|||||||
@@ -225,7 +225,9 @@
|
|||||||
"swig",
|
"swig",
|
||||||
"xctool",
|
"xctool",
|
||||||
"zstd",
|
"zstd",
|
||||||
"zlib"
|
"zlib",
|
||||||
|
"libxext",
|
||||||
|
"libxft"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
|
|||||||
@@ -185,7 +185,9 @@
|
|||||||
"swiftformat",
|
"swiftformat",
|
||||||
"swig",
|
"swig",
|
||||||
"zstd",
|
"zstd",
|
||||||
"zlib"
|
"zlib",
|
||||||
|
"libxext",
|
||||||
|
"libxft"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
@@ -100,7 +100,9 @@
|
|||||||
"swig",
|
"swig",
|
||||||
"zstd",
|
"zstd",
|
||||||
"gmp",
|
"gmp",
|
||||||
"zlib"
|
"zlib",
|
||||||
|
"libxext",
|
||||||
|
"libxft"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
Reference in New Issue
Block a user