File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151
5252 - name : Test (release)
5353 run : swift test --configuration release
54+
55+ swift6-strict :
56+ runs-on : macos-15
57+ timeout-minutes : 30
58+ needs : build
59+ continue-on-error : true
60+ env :
61+ SWIFT_STRICT_FLAGS : " -Xswiftc -swift-version -Xswiftc 6"
62+
63+ steps :
64+ - name : Checkout
65+ uses : actions/checkout@v3
66+
67+ - name : Set up Xcode 16.4
68+ run : sudo xcode-select -s /Applications/Xcode_16.4.0.app
69+
70+ - name : Cache SwiftPM dependencies (Swift 6 strict)
71+ uses : actions/cache@v4
72+ with :
73+ path : .build
74+ key : ${{ runner.os }}-spm-strict-${{ hashFiles('Package.resolved') }}
75+ restore-keys : |
76+ ${{ runner.os }}-spm-
77+
78+ - name : Resolve dependencies
79+ run : swift package resolve
80+
81+ - name : Build (Swift 6 strict)
82+ run : swift build $SWIFT_STRICT_FLAGS
83+
84+ - name : Test (Swift 6 strict)
85+ run : swift test $SWIFT_STRICT_FLAGS
Original file line number Diff line number Diff line change 1- // swift-tools-version:6.0
2- // (Xcode16.0 +)
1+ // swift-tools-version:6.2
2+ // (Xcode16.4 +)
33
44import PackageDescription
55
@@ -21,15 +21,13 @@ let package = Package(
2121 dependencies: [
2222 . package ( url: " https://github.com/livekit/client-sdk-swift.git " , exact: " 2.6.1 " ) ,
2323 . package ( url: " https://github.com/apple/swift-log.git " , from: " 1.6.3 " ) ,
24- . package ( url: " https://github.com/apple/swift-async-algorithms.git " , from: " 1.0.3 " ) ,
2524 ] ,
2625 targets: [
2726 . target(
2827 name: " ElevenLabs " ,
2928 dependencies: [
3029 . product( name: " LiveKit " , package : " client-sdk-swift " ) ,
3130 . product( name: " Logging " , package : " swift-log " ) ,
32- . product( name: " AsyncAlgorithms " , package : " swift-async-algorithms " ) ,
3331 ] ,
3432 resources: [
3533 . process( " PrivacyInfo.xcprivacy " ) ,
You can’t perform that action at this time.
0 commit comments