Skip to content

Commit

Permalink
Enable CI for Swift 5.6 (grpc#1370)
Browse files Browse the repository at this point in the history
* Enable CI for Swift 5.6

* skip tests on 5.6

* lower alloc limits

* expression

* single quotes
  • Loading branch information
glbrntt authored Mar 17, 2022
1 parent be02b34 commit 483e846
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
fail-fast: false
matrix:
include:
- image: swift:5.6-focal
swift-test-flags: "--enable-test-discovery --sanitize=thread"
- image: swift:5.5-focal
swift-test-flags: "--enable-test-discovery --sanitize=thread"
- image: swift:5.4-focal
Expand All @@ -44,13 +46,25 @@ jobs:
run: swift build ${{ matrix.swift-build-flags }}
timeout-minutes: 20
- name: 🧪 Test
# Skip tests on 5.6: https://bugs.swift.org/browse/SR-15955
if: ${{ matrix.image != 'swift:5.6-focal' }}
run: swift test ${{ matrix.swift-test-flags }}
timeout-minutes: 20
performance-tests:
strategy:
fail-fast: false
matrix:
include:
- image: swift:5.6-focal
env:
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 450000
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 189000
MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_10_small_requests: 110000
MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_1_small_request: 65000
MAX_ALLOCS_ALLOWED_embedded_server_unary_1k_rpcs_1_small_request: 61000
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong: 183000
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_client: 190000
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_server: 190000
- image: swift:5.5-focal
env:
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 480000
Expand Down Expand Up @@ -96,6 +110,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: swift:5.6-focal
- image: swift:5.5-focal
- image: swift:5.4-focal
- image: swift:5.3-focal
Expand All @@ -112,6 +127,8 @@ jobs:
GRPC_NO_NIO_SSL: 1
timeout-minutes: 20
- name: Test without NIOSSL
# Skip tests on 5.6: https://bugs.swift.org/browse/SR-15955
if: ${{ matrix.image != 'swift:5.6-focal' }}
run: swift test --enable-test-discovery
env:
GRPC_NO_NIO_SSL: 1
Expand Down

0 comments on commit 483e846

Please sign in to comment.