Skip to content

Commit 9f9434b

Browse files
sebstoSebastien Stormacq
andauthored
Use Swiftlang's GitHUb workflow for testing with Static SDK (#613)
Use Swiftlang's GitHub workflow script to test with the static SDK --------- Co-authored-by: Sebastien Stormacq <stormacq@amazon.lu>
1 parent 023b8fe commit 9f9434b

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,10 @@ jobs:
5959
- name: Check for Semantic Version label
6060
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
6161

62-
# until there is a support for musl in swiftlang/github-workflows
63-
# https://github.com/swiftlang/github-workflows/issues/34
6462
musl:
65-
runs-on: ubuntu-latest
66-
container: swift:6.0.2-noble
67-
timeout-minutes: 30
68-
steps:
69-
- name: Check out code
70-
uses: actions/checkout@v4
71-
- name: Install SDK
72-
run: swift sdk install 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 --checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
73-
- name: Build
74-
run: swift build --swift-sdk x86_64-swift-linux-musl
63+
name: Linux Static SDK (musl) Test
64+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
65+
with:
66+
enable_linux_checks: false
67+
enable_linux_static_sdk_build: true
68+
enable_windows_checks: false

0 commit comments

Comments
 (0)