mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Ubuntu] Add swift to 22.04 (#6398)
This commit is contained in:
@@ -53,14 +53,14 @@ $runtimesList = @(
|
|||||||
(Get-ClangVersions),
|
(Get-ClangVersions),
|
||||||
(Get-ClangFormatVersions),
|
(Get-ClangFormatVersions),
|
||||||
(Get-ClangTidyVersions),
|
(Get-ClangTidyVersions),
|
||||||
(Get-KotlinVersion)
|
(Get-KotlinVersion),
|
||||||
|
(Get-SwiftVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
|
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
|
||||||
$runtimesList += @(
|
$runtimesList += @(
|
||||||
(Get-ErlangVersion),
|
(Get-ErlangVersion),
|
||||||
(Get-ErlangRebar3Version),
|
(Get-ErlangRebar3Version)
|
||||||
(Get-SwiftVersion)
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Describe "PHP" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Swift" -Skip:(Test-IsUbuntu22) {
|
Describe "Swift" {
|
||||||
It "swift" {
|
It "swift" {
|
||||||
"swift --version" | Should -ReturnZeroExitCode
|
"swift --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -282,6 +282,7 @@ build {
|
|||||||
"${path.root}/scripts/installers/apache.sh",
|
"${path.root}/scripts/installers/apache.sh",
|
||||||
"${path.root}/scripts/installers/aws.sh",
|
"${path.root}/scripts/installers/aws.sh",
|
||||||
"${path.root}/scripts/installers/clang.sh",
|
"${path.root}/scripts/installers/clang.sh",
|
||||||
|
"${path.root}/scripts/installers/swift.sh",
|
||||||
"${path.root}/scripts/installers/cmake.sh",
|
"${path.root}/scripts/installers/cmake.sh",
|
||||||
"${path.root}/scripts/installers/codeql-bundle.sh",
|
"${path.root}/scripts/installers/codeql-bundle.sh",
|
||||||
"${path.root}/scripts/installers/containers.sh",
|
"${path.root}/scripts/installers/containers.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user