-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
551 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-15 # As of Oct 16, 2024 this is actually later than "latest" and consequently has Swift 6.0.0 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: format | ||
run: swiftformat . --lint --reporter github-actions-log | ||
|
||
- name: build | ||
run: | | ||
xcodebuild \ | ||
-scheme Ultravox \ | ||
-sdk iphonesimulator \ | ||
-destination 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.0' \ | ||
build || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"originHash" : "38eb6a55f3158e06f9828647b24881cce8e69adf37182856310efc3b71d301eb", | ||
"pins" : [ | ||
{ | ||
"identity" : "client-sdk-swift", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/livekit/client-sdk-swift.git", | ||
"state" : { | ||
"revision" : "471a1b3d97d59de80027f44c975cd40bb72e67e0", | ||
"version" : "2.0.16" | ||
} | ||
}, | ||
{ | ||
"identity" : "swift-log", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/apple/swift-log.git", | ||
"state" : { | ||
"revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", | ||
"version" : "1.6.1" | ||
} | ||
}, | ||
{ | ||
"identity" : "swift-protobuf", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/apple/swift-protobuf.git", | ||
"state" : { | ||
"revision" : "ebc7251dd5b37f627c93698e4374084d98409633", | ||
"version" : "1.28.2" | ||
} | ||
}, | ||
{ | ||
"identity" : "webrtc-xcframework", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/livekit/webrtc-xcframework.git", | ||
"state" : { | ||
"revision" : "9b8d54b203247a84d5f2a9f682d75f4129d0b09b", | ||
"version" : "125.6422.7" | ||
} | ||
} | ||
], | ||
"version" : 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// swift-tools-version: 6.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Ultravox", | ||
|
||
platforms: [ | ||
.iOS(.v13), | ||
.macOS(.v10_15), // No way to only build for iOS. WTF Apple. | ||
], | ||
products: [ | ||
.library( | ||
name: "Ultravox", | ||
targets: ["Ultravox"] | ||
), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor(from: "2.0.16")), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Ultravox", | ||
dependencies: [ | ||
.product(name: "LiveKit", package: "client-sdk-swift"), | ||
] | ||
), | ||
] | ||
) |
Oops, something went wrong.