Skip to content

Commit 7b68576

Browse files
authored
Merge pull request #1428 from glbrntt/gb-merge-async
Merge the async branch into main
2 parents 2d4b290 + a6e3dc5 commit 7b68576

File tree

182 files changed

+14407
-1582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+14407
-1582
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [main]
55
pull_request:
6-
branches: [main]
6+
branches: [main, 1.7.1-async-await]
77
jobs:
88
preflight:
99
name: License Header and Formatting Checks
@@ -25,7 +25,8 @@ jobs:
2525
matrix:
2626
include:
2727
- image: swift:5.6-focal
28-
swift-test-flags: "--sanitize=thread"
28+
# No TSAN because of: https://github.com/apple/swift/issues/59068
29+
# swift-test-flags: "--sanitize=thread"
2930
- image: swift:5.5-focal
3031
swift-test-flags: "--sanitize=thread"
3132
- image: swift:5.4-focal
@@ -109,8 +110,6 @@ jobs:
109110
GRPC_NO_NIO_SSL: 1
110111
timeout-minutes: 20
111112
- name: Test without NIOSSL
112-
# Skip tests on 5.6: https://bugs.swift.org/browse/SR-15955
113-
if: ${{ matrix.image != 'swift:5.6-focal' }}
114113
run: swift test
115114
env:
116115
GRPC_NO_NIO_SSL: 1

Package.swift

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ let cgrpcZlibTargetName = cgrpcZlibProductName
2727

2828
let includeNIOSSL = ProcessInfo.processInfo.environment["GRPC_NO_NIO_SSL"] == nil
2929

30+
#if swift(>=5.6)
31+
// swift-argument-parser raised its minimum Swift version in 1.1.0 but
32+
// also accidentally broke API. This was fixed in "1.1.1".
33+
let argumentParserMinimumVersion: Version = "1.1.1"
34+
#else
35+
let argumentParserMinimumVersion: Version = "1.0.0"
36+
#endif
37+
3038
// MARK: - Package Dependencies
3139

3240
let packageDependencies: [Package.Dependency] = [
@@ -49,15 +57,15 @@ let packageDependencies: [Package.Dependency] = [
4957
.package(
5058
name: "SwiftProtobuf",
5159
url: "https://github.com/apple/swift-protobuf.git",
52-
from: "1.9.0"
60+
from: "1.19.0"
5361
),
5462
.package(
5563
url: "https://github.com/apple/swift-log.git",
5664
from: "1.4.0"
5765
),
5866
.package(
5967
url: "https://github.com/apple/swift-argument-parser.git",
60-
from: "1.0.0"
68+
from: argumentParserMinimumVersion
6169
),
6270
].appending(
6371
.package(
@@ -392,7 +400,6 @@ extension Target {
392400
.nioCore,
393401
.nioPosix,
394402
.nioExtras,
395-
.logging,
396403
.argumentParser,
397404
],
398405
path: "Sources/Examples/PacketCapture",

Performance/QPSBenchmark/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let package = Package(
3434
.package(
3535
name: "SwiftProtobuf",
3636
url: "https://github.com/apple/swift-protobuf.git",
37-
from: "1.9.0"
37+
from: "1.19.0"
3838
),
3939
],
4040
targets: [

0 commit comments

Comments
 (0)