Browse Source

Prepare CI for async/await. (#1238)

Motivation: To test async/await, we actually need a Swift version in CI that supports it.
Daniel Alm 4 năm trước cách đây
mục cha
commit
819531effa
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 10 1
      .github/workflows/ci.yaml

+ 10 - 1
.github/workflows/ci.yaml

@@ -3,7 +3,7 @@ on:
   push:
     branches: [main]
   pull_request:
-    branches: [main]
+    branches: [main, async-await, 1.4.1-async-await]
 jobs:
   preflight:
     name: License Header and Formatting Checks
@@ -52,6 +52,15 @@ jobs:
       matrix:
         include:
           - image: swift:5.5-focal
+            env:
+              MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 503000
+              MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 215000
+              MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_10_small_requests: 112000
+              MAX_ALLOCS_ALLOWED_embedded_server_bidi_1k_rpcs_1_small_request: 67000
+              MAX_ALLOCS_ALLOWED_embedded_server_unary_1k_rpcs_1_small_request: 63000
+              MAX_ALLOCS_ALLOWED_unary_1k_ping_pong: 204000
+          - image: swift:5.4-focal
+>>>>>>> f0bdce9d (Prepare CI for async/await. (#1238))
             env:
               MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 504000
               MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 216000