Skip to content

Commit

Permalink
Add Swift 6 toolchains to CI.
Browse files Browse the repository at this point in the history
This does not update the Package.swift to also support a full Swift 6 mode, that
can be done in the future. This just ensure things build in the current setup
with the new toolchain as expected.

This does not drop 5.8 yet, we'd said policy wise we were going to only support
three at a time, not sure if nio has done it yet, maybe do it with them also?
  • Loading branch information
thomasvl committed Sep 20, 2024
1 parent 79cd72d commit ba68a8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
# seems better. This should also ensure protobuf caching changes with
# each new image incase system in the Swift image are changed/updated.
swift:
- version: 6.0.0-noble
hook: "SWIFT_BUILD_TEST_HOOK=\"-Xswiftc -warnings-as-errors\""
- version: 5.10.1-noble
# No "hook", see https://github.com/apple/swift-protobuf/issues/1560 for the
# current issue with using -warnings-as-errors on linux.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/regular_conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# seems better. This should also ensure protobuf caching changes with
# each new image incase system in the Swift image are changed/updated.
swift:
- 5.10.1-noble
- 6.0.0-noble
# protobuf_git can reference a commit, tag, or branch
# commit: "commits/6935eae45c99926a000ecbef0be20dfd3d159e71"
# tag: "ref/tags/v3.11.4"
Expand Down

0 comments on commit ba68a8e

Please sign in to comment.