Skip to content

Commit 6779786

Browse files
Add docker-compose file for 5.10 CI (#19)
### 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 0a0c648 commit 6779786

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

docker/docker-compose.2204.510.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: "3"
2+
3+
services:
4+
runtime-setup:
5+
image: &image swift-openapi-ahc: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+
16+
shell:
17+
image: *image

docker/docker-compose.2204.59.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ services:
55
image: &image swift-openapi-ahc: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)