Skip to content

Commit 483e846

Browse files
authored
Enable CI for Swift 5.6 (#1370)
* Enable CI for Swift 5.6 * skip tests on 5.6 * lower alloc limits * expression * single quotes
1 parent be02b34 commit 483e846

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
include:
27+
- image: swift:5.6-focal
28+
swift-test-flags: "--enable-test-discovery --sanitize=thread"
2729
- image: swift:5.5-focal
2830
swift-test-flags: "--enable-test-discovery --sanitize=thread"
2931
- image: swift:5.4-focal
@@ -44,13 +46,25 @@ jobs:
4446
run: swift build ${{ matrix.swift-build-flags }}
4547
timeout-minutes: 20
4648
- name: 🧪 Test
49+
# Skip tests on 5.6: https://bugs.swift.org/browse/SR-15955
50+
if: ${{ matrix.image != 'swift:5.6-focal' }}
4751
run: swift test ${{ matrix.swift-test-flags }}
4852
timeout-minutes: 20
4953
performance-tests:
5054
strategy:
5155
fail-fast: false
5256
matrix:
5357
include:
58+
- image: swift:5.6-focal
59+
env:
60+
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 450000
61+
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 189000
62+
MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_10_small_requests: 110000
63+
MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_1_small_request: 65000
64+
MAX_ALLOCS_ALLOWED_embedded_server_unary_1k_rpcs_1_small_request: 61000
65+
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong: 183000
66+
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_client: 190000
67+
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_server: 190000
5468
- image: swift:5.5-focal
5569
env:
5670
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 480000
@@ -96,6 +110,7 @@ jobs:
96110
fail-fast: false
97111
matrix:
98112
include:
113+
- image: swift:5.6-focal
99114
- image: swift:5.5-focal
100115
- image: swift:5.4-focal
101116
- image: swift:5.3-focal
@@ -112,6 +127,8 @@ jobs:
112127
GRPC_NO_NIO_SSL: 1
113128
timeout-minutes: 20
114129
- name: Test without NIOSSL
130+
# Skip tests on 5.6: https://bugs.swift.org/browse/SR-15955
131+
if: ${{ matrix.image != 'swift:5.6-focal' }}
115132
run: swift test --enable-test-discovery
116133
env:
117134
GRPC_NO_NIO_SSL: 1

0 commit comments

Comments
 (0)