Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
windows_swift_versions: '["nightly-main"]'
enable_linux_static_sdk_build: true
enable_macos_checks: true
enable_ios_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]"
macos_pre_build_command: ./.github/scripts/prebuild.sh
cmake-smoke-test:
Expand Down
6 changes: 5 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ if buildOnlyTests {

let package = Package(
name: "swift-tools-protocols",
platforms: [.macOS(.v14)],
platforms: [
.macOS(.v14),
.iOS(.v17),
.macCatalyst(.v17),
],
products: products,
dependencies: dependencies,
targets: targets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public final class JSONRPCConnection: Connection {
sendIO.setLimit(highWater: Int.max)
}

#if os(macOS) || !canImport(Darwin)
/// Creates and starts a `JSONRPCConnection` that connects to a subprocess launched with the specified arguments.
///
/// `client` is the message handler that handles the messages sent from the subprocess to SourceKit-LSP.
Expand Down Expand Up @@ -267,6 +268,7 @@ public final class JSONRPCConnection: Connection {

return (connection, process)
}
#endif // os(macOS) || !canImport(Darwin)

deinit {
assert(state == .closed)
Expand Down
2 changes: 1 addition & 1 deletion Sources/ToolsProtocolsTestSupport/PerfTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ open class PerfTestCase: XCTestCase {

#if !ENABLE_PERF_TESTS

#if os(macOS)
#if canImport(Darwin)
open override func startMeasuring() {}
open override func stopMeasuring() {}
open override func measureMetrics(
Expand Down