Skip to content

Commit e3ce95f

Browse files
committed
more compiler tests
1 parent d798cf9 commit e3ce95f

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

.github/workflows/pull_request.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ jobs:
3232
uname -a
3333
swift --version
3434
35-
- name: Basic test build
36-
run: |
37-
mkdir test
38-
cd test
39-
swift package init --type executable
40-
swift build --static-swift-stdlib
41-
4235
- name: Push something
4336
run: |
4437
swift run containertool --repository localhost:5000/vapor Package.swift --from swift:slim
@@ -49,6 +42,31 @@ jobs:
4942
https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz \
5043
--checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
5144
45+
- name: static stdlib
46+
run: |
47+
pwd
48+
mkdir staticstdlib
49+
cd staticstdlib
50+
swift package init --type executable
51+
swift build --static-swift-stdlib
52+
53+
- name: sdk build
54+
run: |
55+
pwd
56+
mkdir staticsdk
57+
cd staticsdk
58+
swift package init --type executable
59+
swift build --swift-sdk x86_64-swift-linux-musl
60+
61+
- name: plugin static stdlib
62+
run: |
63+
pwd
64+
mkdir plugin-static-stdlib
65+
cd plugin-static-stdlib
66+
swift package init --type executable
67+
swift package add-dependency https://github.com/apple/swift-container-plugin --from 0.2.0
68+
swift package --static-swift-stdlib build-container-image --registry localhost:5000/test-static-stdlib
69+
5270
- name: Build the example
5371
run: |
5472
cd Examples/HelloWorldHummingbird

0 commit comments

Comments
 (0)