Skip to content

Commit 3359646

Browse files
committed
Test static linking
1 parent fa66037 commit 3359646

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/CI.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ jobs:
2323
run: |
2424
cd Examples/CloudFunctions
2525
swift build
26+
- name: Test static linking
27+
run: |
28+
cd Examples/CloudFunctions
29+
swift build -c release -Xswiftc -static-executable
2630
- name: Test LocalDebugging example
2731
run: |
2832
cd Examples/LocalDebugging/MyCloudFunction
2933
swift build
34+
swift build -c release -Xswiftc -static-executable
3035
3136
test-linux-release:
3237
name: Test on Linux
@@ -52,10 +57,15 @@ jobs:
5257
run: |
5358
cd Examples/CloudFunctions
5459
swift build
60+
- name: Test static linking
61+
run: |
62+
cd Examples/CloudFunctions
63+
swift build -c release -Xswiftc -static-executable
5564
- name: Test LocalDebugging example
5665
run: |
5766
cd Examples/LocalDebugging/MyCloudFunction
5867
swift build
68+
swift build -c release -Xswiftc -static-executable
5969
6070
test-linux-nightly:
6171
name: Test on Linux
@@ -80,10 +90,15 @@ jobs:
8090
run: |
8191
cd Examples/CloudFunctions
8292
swift build
93+
- name: Test static linking
94+
run: |
95+
cd Examples/CloudFunctions
96+
swift build -c release -Xswiftc -static-executable
8397
- name: Test LocalDebugging example
8498
run: |
8599
cd Examples/LocalDebugging/MyCloudFunction
86100
swift build
101+
swift build -c release -Xswiftc -static-executable
87102
88103
test-macos:
89104
name: Test on macOS

0 commit comments

Comments
 (0)