Update README.md to reference grpc-swift-2 #2703
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["release/1.x"] | |
pull_request: | |
branches: ["release/1.x"] | |
jobs: | |
preflight: | |
name: License Header and Formatting Checks | |
runs-on: ubuntu-latest | |
container: | |
image: swift:6.1 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: Mark the workspace as safe | |
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
- name: "Install protoc" | |
run: apt update && apt install -y protobuf-compiler | |
- name: "Formatting, License Headers, and Generated Code check" | |
run: | | |
./scripts/sanity.sh | |
unit-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: swift:6.1 | |
- image: swift:6.0-jammy | |
- image: swift:5.10.1-noble | |
name: Build and Test on ${{ matrix.image }} | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🔧 Build | |
run: swift build ${{ matrix.swift-build-flags }} | |
timeout-minutes: 20 | |
- name: 🧪 Test | |
run: swift test ${{ matrix.swift-test-flags }} | |
timeout-minutes: 20 | |
performance-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: swift:6.1 | |
swift-version: '6.1' | |
env: | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 323000 | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 161000 | |
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: 163000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_client: 170000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_server: 170000 | |
- image: swift:6.0-jammy | |
swift-version: '6.0' | |
env: | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 323000 | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 161000 | |
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: 163000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_client: 170000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_server: 170000 | |
- image: swift:5.10.1-noble | |
swift-version: '5.10' | |
env: | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_10_requests: 323000 | |
MAX_ALLOCS_ALLOWED_bidi_1k_rpcs_1_request: 161000 | |
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: 163000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_client: 170000 | |
MAX_ALLOCS_ALLOWED_unary_1k_ping_pong_interceptors_server: 170000 | |
name: Performance Tests on ${{ matrix.image }} | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🧮 Allocation Counting Tests | |
run: ./Performance/allocations/test-allocation-counts.sh | |
env: ${{ matrix.env }} | |
timeout-minutes: 20 | |
integration-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: swift:6.1 | |
swift-tools-version: '6.1' | |
- image: swift:6.0-jammy | |
swift-tools-version: '6.0' | |
- image: swift:5.10.1-noble | |
swift-tools-version: '5.10' | |
name: Integration Tests on ${{ matrix.image }} | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install protoc | |
run: apt update && apt install -y protobuf-compiler | |
- name: SwiftPM plugin test (v1) | |
run: ./scripts/run-plugin-tests.sh ${{ matrix.swift-tools-version }} "v1" | |
- name: Build without NIOSSL | |
run: swift build | |
env: | |
GRPC_NO_NIO_SSL: 1 | |
timeout-minutes: 20 | |
- name: Test without NIOSSL | |
run: swift test | |
env: | |
GRPC_NO_NIO_SSL: 1 | |
timeout-minutes: 20 |