Skip to content

Commit d873514

Browse files
Add docker-compose file for 5.10 CI (#57)
### Motivation Now Swift 5.9 is released and 5.10 nightly images are available, we should update our CI to use the official release for 5.10 and setup a new CI for 5.10. ### Modifications - Update 5.9 CI to use `swift:5.9-jammy` - Add new CI for `swiftlang/swift:nightly-5.10-jammy` ### Result - 5.9 CI is using official released image. - 5.10 CI can be brought online. ### Test Plan Running both of these commands locally succeed: ```console % docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.59.yaml run test ``` ```console % docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.510.yaml run test ```
1 parent 0030548 commit d873514

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docker/docker-compose.2204.510.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: "3"
2+
3+
services:
4+
runtime-setup:
5+
image: &image swift-openapi-runtime:22.04-5.10
6+
build:
7+
args:
8+
base_image: "swiftlang/swift:nightly-5.10-jammy"
9+
10+
test:
11+
image: *image
12+
environment:
13+
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
14+
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
15+
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
16+
17+
shell:
18+
image: *image

docker/docker-compose.2204.59.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ services:
55
image: &image swift-openapi-runtime:22.04-5.9
66
build:
77
args:
8-
base_image: "swiftlang/swift:nightly-5.9-jammy"
8+
ubuntu_version: "jammy"
9+
swift_version: "5.9"
910

1011
test:
1112
image: *image

0 commit comments

Comments
 (0)