[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-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)
) )
} }

View File

@@ -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
} }

View File

@@ -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",