Skip to content

Commit 1edaedf

Browse files
authored
[CI] add testing on musl (#412)
* [CI] add testing on musl
1 parent 75d0404 commit 1edaedf

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
@@ -42,3 +42,17 @@ jobs:
4242
swift-6-language-mode:
4343
name: Swift 6 Language Mode
4444
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
45+
46+
# until there is a support for musl in swiftlang/github-workflows
47+
# https://github.com/swiftlang/github-workflows/issues/34
48+
musl:
49+
runs-on: ubuntu-latest
50+
container: swift:6.0-noble
51+
timeout-minutes: 30
52+
steps:
53+
- name: Check out code
54+
uses: actions/checkout@v4
55+
- name: Install SDK
56+
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
57+
- name: Build
58+
run: swift build --swift-sdk x86_64-swift-linux-musl

0 commit comments

Comments
 (0)