File tree Expand file tree Collapse file tree 8 files changed +51
-11
lines changed Expand file tree Collapse file tree 8 files changed +51
-11
lines changed Original file line number Diff line number Diff line change 10
10
matrix :
11
11
version :
12
12
- 5.2.5
13
+ - 5.3
13
14
- nightly-5.3
14
15
- nightly
15
16
container :
40
41
- centos8
41
42
version :
42
43
- 5.2.5
44
+ - 5.3
43
45
container :
44
46
image : swift:${{ matrix.version }}-${{ matrix.os }}
45
47
steps :
Original file line number Diff line number Diff line change 1
- ARG swift_version=5.2.5
1
+ ARG swift_version=5.3
2
2
FROM stevapple/swift-scf:$swift_version
3
3
# needed to do again after FROM due to docker limitation
4
4
ARG swift_version
@@ -15,7 +15,7 @@ RUN wget -q https://raw.githubusercontent.com/apple/swift/main/utils/symbolicate
15
15
RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal
16
16
17
17
# swiftformat (until part of the toolchain)
18
- ARG swiftformat_version=0.45.6
18
+ ARG swiftformat_version=0.46.3
19
19
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
20
20
RUN cd $HOME/.tools/swift-format && swift build -c release
21
21
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
Original file line number Diff line number Diff line change 1
- ARG swift_version=5.2.5
1
+ ARG swift_version=5.3
2
2
ARG ubuntu_version=bionic
3
3
ARG base_image=swift:$swift_version-$ubuntu_version
4
4
FROM $base_image
@@ -28,7 +28,7 @@ RUN wget -q https://raw.githubusercontent.com/apple/swift/main/utils/symbolicate
28
28
RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal
29
29
30
30
# swiftformat (until part of the toolchain)
31
- ARG swiftformat_version=0.45.6
31
+ ARG swiftformat_version=0.46.3
32
32
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
33
33
RUN cd $HOME/.tools/swift-format && swift build -c release
34
34
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ version: "3"
3
3
services :
4
4
5
5
runtime-setup :
6
- image : swift-aws-lambda:18.04 -5.2
6
+ image : swift-tencent-scf:scf -5.2.5
7
7
build :
8
8
dockerfile : Dockerfile.ubuntu
9
9
args :
10
10
ubuntu_version : " bionic"
11
- swift_version : " 5.2"
11
+ swift_version : " 5.2.5 "
12
12
13
13
test :
14
- image : swift-aws-lambda:18.04 -5.2
14
+ image : swift-tencent-scf:scf -5.2.5
15
15
16
16
test-samples :
17
- image : swift-aws-lambda:18.04 -5.2
17
+ image : swift-tencent-scf:scf -5.2.5
18
18
19
19
shell :
20
- image : swift-aws-lambda:18.04 -5.2
20
+ image : swift-tencent-scf:scf -5.2.5
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-tencent-scf:scf-5.3
7
+ build :
8
+ dockerfile : Dockerfile.ubuntu
9
+ args :
10
+ ubuntu_version : " bionic"
11
+ swift_version : " 5.3"
12
+
13
+ test :
14
+ image : swift-tencent-scf:scf-5.3
15
+
16
+ test-samples :
17
+ image : swift-tencent-scf:scf-5.3
18
+
19
+ shell :
20
+ image : swift-tencent-scf:scf-5.3
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-tencent-scf:scf-5.2.5
7
+ build :
8
+ args :
9
+ swift_version : " 5.2.5"
10
+
11
+ test :
12
+ image : swift-tencent-scf:scf-5.2.5
13
+
14
+ test-samples :
15
+ image : swift-tencent-scf:scf-5.2.5
16
+
17
+ shell :
18
+ image : swift-tencent-scf:scf-5.2.5
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
image : swift-tencent-scf:scf-5.3
7
7
build :
8
8
args :
9
- swift_version : " nightly- 5.3"
9
+ swift_version : " 5.3"
10
10
11
11
test :
12
12
image : swift-tencent-scf:scf-5.3
Original file line number Diff line number Diff line change 1
1
# this file is not designed to be run directly
2
2
# instead, use the docker-compose.<os>.<swift> files
3
- # eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1804.52 .yaml run test
3
+ # eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.scf.53 .yaml run test
4
4
version : " 3"
5
5
6
6
services :
You can’t perform that action at this time.
0 commit comments