mirror of
https://github.com/apple/swift-asn1
synced 2026-11-22 04:10:39 +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 Result: Code reflects our support window. --------- Co-authored-by: George Barnett <gbarnett@apple.com>
44 lines
1.3 KiB
Swift
44 lines
1.3 KiB
Swift
// swift-tools-version:6.1
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftASN1 open source project
|
|
//
|
|
// Copyright (c) 2023 Apple Inc. and the SwiftASN1 project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftASN1 project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "benchmarks",
|
|
platforms: [
|
|
.macOS(.v13)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark", from: "1.11.2"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SwiftASN1Benchmark",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "SwiftASN1", package: "swift-asn1"),
|
|
],
|
|
path: "Benchmarks/SwiftASN1Benchmark",
|
|
resources: [
|
|
.copy("ca-certificates/")
|
|
],
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|