[Ubuntu] Add swift to 22.04 (#6398)

This commit is contained in:
Mikhail Koliada
2022-10-13 13:45:14 +02:00
committed by GitHub
parent 3442a5c475
commit 866ccbe818
3 changed files with 5 additions and 4 deletions

View File

@@ -53,14 +53,14 @@ $runtimesList = @(
(Get-ClangVersions),
(Get-ClangFormatVersions),
(Get-ClangTidyVersions),
(Get-KotlinVersion)
(Get-KotlinVersion),
(Get-SwiftVersion)
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$runtimesList += @(
(Get-ErlangVersion),
(Get-ErlangRebar3Version),
(Get-SwiftVersion)
(Get-ErlangRebar3Version)
)
}

View File

@@ -29,7 +29,7 @@ Describe "PHP" {
}
}
Describe "Swift" -Skip:(Test-IsUbuntu22) {
Describe "Swift" {
It "swift" {
"swift --version" | Should -ReturnZeroExitCode
}

View File

@@ -282,6 +282,7 @@ build {
"${path.root}/scripts/installers/apache.sh",
"${path.root}/scripts/installers/aws.sh",
"${path.root}/scripts/installers/clang.sh",
"${path.root}/scripts/installers/swift.sh",
"${path.root}/scripts/installers/cmake.sh",
"${path.root}/scripts/installers/codeql-bundle.sh",
"${path.root}/scripts/installers/containers.sh",