Skip to content

Commit 46de5dc

Browse files
committed
[CI] add testing on musl
1 parent 2fad042 commit 46de5dc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,17 @@ jobs:
4343
swift-6-language-mode:
4444
name: Swift 6 Language Mode
4545
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
46+
47+
# until there is a support for musl in swiftlang/github-workflows
48+
# https://github.com/swiftlang/github-workflows/issues/34
49+
musl:
50+
runs-on: ubuntu-latest
51+
container: swift:6.0-noble
52+
timeout-minutes: 30
53+
steps:
54+
- name: Check out code
55+
uses: actions/checkout@v4
56+
- name: Install SDK
57+
run: swift sdk install https://download.swift.org/swift-6.0.1-release/static-sdk/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum d4f46ba40e11e697387468e18987ee622908bc350310d8af54eb5e17c2ff5481
58+
- name: Build
59+
run: swift build --swift-sdk x86_64-swift-linux-musl ${PACKAGE_PATH} ${EXTRA_FLAGS} ${EXTRA_MUSL_FLAGS} ${WARNINGS_AS_ERRORS}

0 commit comments

Comments
 (0)