Skip to content

Commit 1e7991a

Browse files
rnroyim-lee
andauthoredOct 4, 2023
Add CI pipeline for Swift 5.10 (#40)
* Add CI pipeline for Swift 5.10 Motivation: Now that Swift 5.9 is GM we should update the CI pipelines Modifications: * Add a 5.10 nightly docker compose file * Update the 5.9 compose file to stop using nightlies Result: Remove add CI support for 5.10 * dedicated network --------- Co-authored-by: Yim Lee <[email protected]>
1 parent 14bb69e commit 1e7991a

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed
 

‎docker/docker-compose.2204.510.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-memcache-gsoc:22.04-5.10
7+
build:
8+
args:
9+
base_image: "swiftlang/swift:nightly-5.10-jammy"
10+
11+
test:
12+
image: swift-memcache-gsoc:22.04-5.10
13+
environment:
14+
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
15+
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
16+
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
17+
18+
shell:
19+
image: swift-memcache-gsoc:22.04-5.10

‎docker/docker-compose.2204.59.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ services:
66
image: swift-memcache-gsoc:22.04-5.9
77
build:
88
args:
9-
base_image: "swiftlang/swift:nightly-5.9-jammy"
9+
ubuntu_version: "jammy"
10+
swift_version: "5.9"
1011

1112
test:
1213
image: swift-memcache-gsoc:22.04-5.9

‎docker/docker-compose.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ services:
66

77
memcached:
88
image: memcached:latest
9+
networks:
10+
- memcached
911
ports:
10-
- "11211:11211"
12+
- 11211
1113

1214
runtime-setup:
1315
image: swift-memcache-gsoc:default
@@ -33,9 +35,16 @@ services:
3335
- runtime-setup
3436
- memcached
3537
command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
38+
networks:
39+
- memcached
3640

3741
# util
3842

3943
shell:
4044
<<: *common
4145
entrypoint: /bin/bash
46+
47+
# dedicated network
48+
49+
networks:
50+
memcached:

0 commit comments

Comments
 (0)
Please sign in to comment.