mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: Swift 6.0 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 6.1 * Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml * Set language mode 5 in Benchmarks package manifest Result: Code reflects our support window. --------- Co-authored-by: George Barnett <gbarnett@apple.com>
42 lines
1.3 KiB
Swift
42 lines
1.3 KiB
Swift
// swift-tools-version:6.1
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "benchmarks",
|
|
platforms: [
|
|
.macOS("14")
|
|
],
|
|
dependencies: [
|
|
.package(path: "../"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark.git", from: "1.29.11"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "NIOPosixBenchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "NIOCore", package: "swift-nio"),
|
|
.product(name: "NIOPosix", package: "swift-nio"),
|
|
],
|
|
path: "Benchmarks/NIOPosixBenchmarks",
|
|
swiftSettings: [.swiftLanguageMode(.v5)],
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
),
|
|
.executableTarget(
|
|
name: "NIOCoreBenchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "NIOCore", package: "swift-nio"),
|
|
.product(name: "NIOEmbedded", package: "swift-nio"),
|
|
],
|
|
path: "Benchmarks/NIOCoreBenchmarks",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
),
|
|
]
|
|
)
|