@@ -2,39 +2,61 @@ name: tests
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [master]
66 pull_request :
7- branches : [ master ]
7+ branches : [master]
88
99jobs :
1010 linux :
1111 runs-on : ubuntu-24.04
1212 name : Ubuntu 24.04
1313 steps :
14- - name : Install Swift
15- uses : tayloraswift/swift-install-action@master
16- with :
17- swift-prefix : " swift-6.0.3-release/ubuntu2404/swift-6.0.3-RELEASE"
18- swift-id : " swift-6.0.3-RELEASE-ubuntu24.04"
14+ - name : Install Swift
15+ uses : tayloraswift/swift-install-action@master
16+ with :
17+ swift-prefix : " swift-6.0.3-release/ubuntu2404/swift-6.0.3-RELEASE"
18+ swift-id : " swift-6.0.3-RELEASE-ubuntu24.04"
1919
20- - name : Checkout repository
21- uses : actions/checkout@v3
20+ - name : Checkout repository
21+ uses : actions/checkout@v3
2222
23- - name : Install imagemagick
24- run : sudo apt install -y imagemagick
23+ - name : Install imagemagick
24+ run : sudo apt install -y imagemagick
2525
26- - name : Run tests
27- run : Scripts/TestAll
26+ - name : Run tests
27+ run : Scripts/TestAll
28+
29+ linux-musl :
30+ runs-on : ubuntu-24.04
31+ name : Ubuntu 24.04
32+ steps :
33+ - name : Install Swift
34+ uses : tayloraswift/swift-install-action@master
35+ with :
36+ swift-prefix : " swift-6.0.3-release/ubuntu2404/swift-6.0.3-RELEASE"
37+ swift-id : " swift-6.0.3-RELEASE-ubuntu24.04"
38+
39+ - name : Checkout repository
40+ uses : actions/checkout@v3
41+
42+ - name : Install imagemagick
43+ run : sudo apt install -y imagemagick
44+
45+ - name : Install linux SDK
46+ run : swift sdk install https://download.swift.org/swift-6.0.3-release/static-sdk/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum 67f765e0030e661a7450f7e4877cfe008db4f57f177d5a08a6e26fd661cdd0bd
47+
48+ - name : Run tests
49+ run : Scripts/TestAll -b "--swift-sdk x86_64-swift-linux-musl"
2850
2951 macos :
3052 runs-on : macos-15
3153 name : macOS
3254 steps :
33- - name : Checkout repository
34- uses : actions/checkout@v3
55+ - name : Checkout repository
56+ uses : actions/checkout@v3
3557
36- - name : Install imagemagick
37- run : brew install imagemagick
58+ - name : Install imagemagick
59+ run : brew install imagemagick
3860
39- - name : Run tests
40- run : Scripts/TestAll
61+ - name : Run tests
62+ run : Scripts/TestAll
0 commit comments