swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
708 stars 47 forks source link

Add docker image for testing the Swift 6.0 toolchain #824

Closed plemarquand closed 1 month ago

plemarquand commented 1 month ago

We are testing on Swift 5.10 and the trunk branch (main) toolchain, but not the 6.0 toolchain.

plemarquand commented 1 month ago

Note, the Test Explorer integration tests will fail on 6.0 until https://github.com/apple/swift-testing/issues/439 is merged.

I actually stumbled across this gap when this 6.0 change was surfaced by the failure in swift-testing and no failures were surfaced in vscode-swift's CI.

plemarquand commented 1 month ago

https://github.com/apple/swift-testing/issues/439 has been merged, and this is now passing for me at desk with the command:

docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.60.yaml -p swift-vscode-60-prb build && docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.60.yaml -p swift-vscode-60-prb run --rm test
plemarquand commented 1 month ago

@yim-lee Is it possible to add a 6.0 CI job that uses docker/docker-compose.2204.60.yaml? Apologies if you're not the right person to ask.

yim-lee commented 1 month ago

@swift-server-bot test this please

yim-lee commented 1 month ago

@plemarquand Added CI pipeline for Swift 6