Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
##===----------------------------------------------------------------------===##
##
## This source file is part of the Swift.org open source project
##
## Copyright (c) 2024 Apple Inc. and the Swift project authors
## Licensed under Apache License v2.0 with Runtime Library Exception
##
## See https://swift.org/LICENSE.txt for license information
## See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
##
##===----------------------------------------------------------------------===##
. $PSScriptRoot\install-swift.ps1

if ([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture -eq "Arm64") {
$swiftOSVersion = 'windows10-arm64'
} else {
$swiftOSVersion = 'windows10'
}

$SWIFT_RELEASE_METADATA="https://download.swift.org/swift-6.3-branch/$swiftOSVersion/latest-build.json"
$Release = curl.exe -sL ${SWIFT_RELEASE_METADATA}
$SWIFT_URL = "https://download.swift.org/swift-6.3-branch/$swiftOSVersion/$($($Release | ConvertFrom-JSON).dir)/$($($Release | ConvertFrom-JSON).download)"

Install-Swift -Url $SWIFT_URL -Sha256 ""
8 changes: 4 additions & 4 deletions .github/workflows/swift_package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ on:
linux_swift_versions:
type: string
description: "Include Linux Swift version list (JSON)"
default: "[ \"5.9\", \"5.10\", \"6.0\", \"6.1\", \"6.2\", \"nightly-main\", \"nightly-6.2\"]"
default: "[ \"5.9\", \"5.10\", \"6.0\", \"6.1\", \"6.2\", \"nightly-main\", \"nightly-6.3\"]"
linux_exclude_swift_versions:
type: string
description: "Exclude Linux Swift version list (JSON)"
Expand All @@ -61,15 +61,15 @@ on:
wasm_sdk_versions:
type: string
description: "Wasm Swift SDK version list (JSON)"
default: "[\"nightly-main\", \"nightly-6.2\", \"6.2\"]"
default: "[\"nightly-main\", \"nightly-6.3\", \"6.2\"]"
wasm_exclude_swift_versions:
type: string
description: "Exclude Wasm Swift SDK version list (JSON)"
default: "[{\"swift_version\": \"\"}]"
android_sdk_versions:
type: string
description: "Android Swift SDK version list (JSON)"
default: "[\"nightly-main\"]"
default: "[\"nightly-main\", \"nightly-6.3\"]"
android_exclude_swift_versions:
type: string
description: "Exclude Android Swift SDK version list (JSON)"
Expand All @@ -78,7 +78,7 @@ on:
type: string
description: "Include Windows Swift version list (JSON)"
# "5.10" is omitted for Windows because the container image is broken.
default: "[\"5.9\", \"6.0\", \"6.1\", \"6.2\", \"nightly-main\", \"nightly-6.2\"]"
default: "[\"5.9\", \"6.0\", \"6.1\", \"6.2\", \"nightly-main\", \"nightly-6.3\"]"
windows_exclude_swift_versions:
type: string
description: "Exclude Windows Swift version list (JSON)"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
### Testing

To enable pull request testing for all supported Swift versions (5.9, 5.10,
6.0, 6.1, nightly, and nightly-6.1) on Linux and Windows, add the following code example in
6.0, 6.1, 6.2, nightly, and nightly-6.3) on Linux and Windows, add the following code example in
`.github/workflows/pull_request.yml`:

```yaml
Expand Down