Skip to content

Commit 8c8cb89

Browse files
authored
[CI] Enable static SDK builds (#4)
### Motivation Ensure the package builds against the static SDK. ### Modifications Enabled CI for static SDK builds. ### Result Additional CI. ### Test Plan Will check this PR's result.
1 parent 3fbe75b commit 8c8cb89

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
windows_nightly_6_1_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error"
2727
windows_nightly_main_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error"
2828

29-
# Static SDK build blocked on the fact that ConfigurationTesting depends on Swift Testing,
30-
# which doesn't build for Musl. We need a way to only build the Configuration target for Musl.
31-
# Waiting on: https://github.com/apple/swift-nio/pull/3377
32-
# static-sdk:
33-
# name: Static SDK
34-
# # Workaround https://github.com/nektos/act/issues/1875
35-
# uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
29+
static-sdk:
30+
name: Static SDK
31+
# Workaround https://github.com/nektos/act/issues/1875
32+
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
33+
with:
34+
env_vars: '{"ENABLE_ALL_TRAITS":"1"}'
35+
command_arguments: '--product Configuration'
3636

3737
macos-tests:
3838
name: macOS tests

.github/workflows/pull_request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
windows_nightly_6_1_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error"
3434
windows_nightly_main_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error"
3535

36-
# Static SDK build blocked on the fact that ConfigurationTesting depends on Swift Testing,
37-
# which doesn't build for Musl. We need a way to only build the Configuration target for Musl.
38-
# Waiting on: https://github.com/apple/swift-nio/pull/3377
39-
# static-sdk:
40-
# name: Static SDK
41-
# # Workaround https://github.com/nektos/act/issues/1875
42-
# uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
36+
static-sdk:
37+
name: Static SDK
38+
# Workaround https://github.com/nektos/act/issues/1875
39+
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
40+
with:
41+
env_vars: '{"ENABLE_ALL_TRAITS":"1"}'
42+
command_arguments: '--product Configuration'
4343

4444
macos-tests:
4545
name: macOS tests

0 commit comments

Comments
 (0)