-
Notifications
You must be signed in to change notification settings - Fork 90
Add swift version file to record the Swift toolchain to use #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@swift-ci test |
When working with SwiftBuild, there is a particular version that development is expected to use so that all of the compilers, standard libraries, test frameworks, etc. are expected to be working. The `.swift-version` file establishes a standard way to record this information. Also, there is tooling available through `swiftly` to use that information to automatically use the correct toolchain in any git commit to set the developer's toolchain when they run and test the package functions at desk. Create the `.swift-version` file and set it to the current expected toolchain version: 6.1.
9e0c823
to
3128675
Compare
@swift-ci test |
I think we need to update the README in conjunction with this? There we're saying that Xcode 16.2 is supported, which ships with Swift 6.0.3. |
Well, it should at least say "or later", it doesn't make sense to say that an exact version is supported. But I don't think we broke it. |
Right, we didn't break it, yet, but this PR also ensures that we won't really test it anymore (presuming we'll follow the |
Sounds fine to me. |
When working with SwiftBuild, there is a particular version that development is expected to use so that all of the compilers, standard libraries, test frameworks, etc. are expected to be working. The
.swift-version
file establishes a standard way to record this information. Also, there is tooling available throughswiftly
to use that information to automatically use the correct toolchain in any git commit to set the developer's toolchain when they run and test the package functions at desk.Create the
.swift-version
file and set it to the current expected toolchain version: 6.1.