From 78d6cc4942b85f5c233fd9699aaae049581468bb Mon Sep 17 00:00:00 2001 From: Yim Lee Date: Thu, 13 Apr 2023 01:44:52 -0700 Subject: [PATCH] Add docker-compose file for Swift 5.9 (#198) --- docker/docker-compose.2204.58.yaml | 3 ++- docker/docker-compose.2204.59.yaml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 docker/docker-compose.2204.59.yaml diff --git a/docker/docker-compose.2204.58.yaml b/docker/docker-compose.2204.58.yaml index 9f12573f..67b39947 100644 --- a/docker/docker-compose.2204.58.yaml +++ b/docker/docker-compose.2204.58.yaml @@ -6,7 +6,8 @@ services: image: swift-nio-extras:22.04-5.8 build: args: - base_image: "swiftlang/swift:nightly-main-jammy" + ubuntu_version: "jammy" + swift_version: "5.8" test: image: swift-nio-extras:22.04-5.8 diff --git a/docker/docker-compose.2204.59.yaml b/docker/docker-compose.2204.59.yaml new file mode 100644 index 00000000..a8dc9972 --- /dev/null +++ b/docker/docker-compose.2204.59.yaml @@ -0,0 +1,20 @@ +version: "3" + +services: + + runtime-setup: + image: swift-nio-extras:22.04-5.9 + build: + args: + base_image: "swiftlang/swift:nightly-5.9-jammy" + + test: + image: swift-nio-extras:22.04-5.9 + environment: + - IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error + + documentation-check: + image: swift-nio-extras:22.04-5.9 + + shell: + image: swift-nio-extras:22.04-5.9