File tree Expand file tree Collapse file tree 5 files changed +112
-0
lines changed Expand file tree Collapse file tree 5 files changed +112
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-kafka-gsoc:22.04-5.7
7
+ build :
8
+ args :
9
+ ubuntu_version : " jammy"
10
+ swift_version : " 5.7"
11
+
12
+ test :
13
+ image : swift-kafka-gsoc:22.04-5.7
14
+ environment :
15
+ - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
16
+ # - SANITIZER_ARG=--sanitize=thread # TSan broken still
17
+
18
+ shell :
19
+ image : swift-kafka-gsoc:22.04-5.7
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-kafka-gsoc:22.04-5.8
7
+ build :
8
+ args :
9
+ ubuntu_version : " jammy"
10
+ swift_version : " 5.8"
11
+
12
+ test :
13
+ image : swift-kafka-gsoc:22.04-5.8
14
+ environment :
15
+ - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
16
+ - IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
17
+ # - SANITIZER_ARG=--sanitize=thread # TSan broken still
18
+
19
+ shell :
20
+ image : swift-kafka-gsoc:22.04-5.8
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-kafka-gsoc:22.04-5.9
7
+ build :
8
+ args :
9
+ base_image : " swiftlang/swift:nightly-5.9-jammy"
10
+
11
+ test :
12
+ image : swift-kafka-gsoc:22.04-5.9
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-kafka-gsoc:22.04-5.9
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-kafka-gsoc:22.04-main
7
+ build :
8
+ args :
9
+ base_image : " swiftlang/swift:nightly-main-jammy"
10
+
11
+ test :
12
+ image : swift-kafka-gsoc:22.04-main
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-kafka-gsoc:22.04-main
Original file line number Diff line number Diff line change @@ -28,3 +28,38 @@ services:
28
28
environment :
29
29
KAFKA_HOST : kafka
30
30
KAFKA_PORT : 9092
31
+
32
+ # Swift on Server CI
33
+ # e.g. docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.57.yaml run test
34
+
35
+ runtime-setup :
36
+ image : swift-kafka-gsoc:default
37
+ build :
38
+ context : .
39
+ dockerfile : Dockerfile
40
+
41
+ common : &common
42
+ image : swift-kafka-gsoc:default
43
+ depends_on : [runtime-setup]
44
+ volumes :
45
+ - ~/.ssh:/root/.ssh
46
+ - ..:/code:z
47
+ working_dir : /code
48
+
49
+ soundness :
50
+ << : *common
51
+ command : /bin/bash -xcl "swift -version && uname -a && ./scripts/soundness.sh"
52
+
53
+ test :
54
+ << : *common
55
+ depends_on : [kafka, runtime-setup]
56
+ environment :
57
+ KAFKA_HOST : kafka
58
+ KAFKA_PORT : 9092
59
+ command : /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
60
+
61
+ # util
62
+
63
+ shell :
64
+ << : *common
65
+ entrypoint : /bin/bash
You can’t perform that action at this time.
0 commit comments