Skip to content

Commit

Permalink
Test Linux against Swift 5.7
Browse files Browse the repository at this point in the history
Currently only macOS supports 5.7.1
  • Loading branch information
henrymercer committed Nov 23, 2022
1 parent ce90479 commit 971e97b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/__export-file-baseline-information.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/__swift-autobuild.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/__swift-custom-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pr-checks/checks/export-file-baseline-information.yml
Expand Up @@ -3,7 +3,8 @@ description: "Tests that file baseline information is exported when the feature
versions: ["nightly-latest"]
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: runner.os != 'Windows' && matrix.version == 'cached'
# Windows doesn't support Swift, and only macOS latest and nightly-latest support Swift 5.7.1.
if: "!(runner.os == 'macOS' && matrix.version != 'cached')"
with:
swift-version: "5.7"
- uses: ./../action/init
Expand Down
3 changes: 2 additions & 1 deletion pr-checks/checks/multi-language-autodetect.yml
Expand Up @@ -5,7 +5,8 @@ env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: matrix.version == 'cached'
# Only macOS latest and nightly-latest support Swift 5.7.1
if: runner.os == 'ubuntu' || matrix.version == 'cached'
with:
swift-version: "5.7"

Expand Down
3 changes: 2 additions & 1 deletion pr-checks/checks/swift-autobuild.yml
Expand Up @@ -7,7 +7,8 @@ env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true"
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: matrix.version == 'cached'
# Only macOS latest and nightly-latest support Swift 5.7.1
if: runner.os == 'ubuntu' || matrix.version == 'cached'
with:
swift-version: "5.7"
- uses: ./../action/init
Expand Down
3 changes: 2 additions & 1 deletion pr-checks/checks/swift-custom-build.yml
Expand Up @@ -7,7 +7,8 @@ env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: matrix.version == 'cached'
# Only macOS latest and nightly-latest support Swift 5.7.1
if: runner.os == 'ubuntu' || matrix.version == 'cached'
with:
swift-version: "5.7"
- uses: ./../action/init
Expand Down

0 comments on commit 971e97b

Please sign in to comment.