|
| 1 | +name: PR |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + branches: [main] |
| 6 | + types: [opened, reopened, synchronize] |
| 7 | + |
| 8 | +jobs: |
| 9 | + soundness: |
| 10 | + name: Soundness |
| 11 | + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main |
| 12 | + with: |
| 13 | + license_header_check_project_name: "gRPC" |
| 14 | + |
| 15 | + grpc-soundness: |
| 16 | + name: gRPC-specific Soundness |
| 17 | + runs-on: ubuntu-latest |
| 18 | + container: |
| 19 | + image: swift:6.0-noble |
| 20 | + steps: |
| 21 | + - name: Checkout repository |
| 22 | + uses: actions/checkout@v4 |
| 23 | + with: |
| 24 | + persist-credentials: false |
| 25 | + - name: Mark the workspace as safe |
| 26 | + run: git config --global --add safe.directory ${GITHUB_WORKSPACE} |
| 27 | + - name: Install protoc |
| 28 | + run: apt update && apt install -y protobuf-compiler |
| 29 | + - name: Run soundness checks |
| 30 | + run: | |
| 31 | + ./dev/soundness.sh |
| 32 | +
|
| 33 | + unit-tests: |
| 34 | + name: Unit Tests |
| 35 | + uses: apple/swift-nio/.github/workflows/unit_tests.yml@main |
| 36 | + with: |
| 37 | + linux_5_9_enabled: false |
| 38 | + linux_5_10_enabled: false |
| 39 | + linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 40 | + linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 41 | + linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 42 | + |
| 43 | + integration-tests: |
| 44 | + name: Integration Tests |
| 45 | + uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main |
| 46 | + with: |
| 47 | + name: "Integration Tests" |
| 48 | + matrix_linux_5_9_enabled: false |
| 49 | + matrix_linux_5_10_enabled: false |
| 50 | + matrix_linux_command: "./dev/integration_tests.sh" |
| 51 | + |
| 52 | + examples: |
| 53 | + name: Examples |
| 54 | + uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main |
| 55 | + with: |
| 56 | + name: "Examples" |
| 57 | + matrix_linux_5_9_enabled: false |
| 58 | + matrix_linux_5_10_enabled: false |
| 59 | + matrix_linux_command: "./dev/build-examples.sh" |
| 60 | + |
| 61 | + benchmarks: |
| 62 | + name: Benchmarks |
| 63 | + uses: apple/swift-nio/.github/workflows/benchmarks.yml@main |
| 64 | + with: |
| 65 | + benchmark_package_path: "IntegrationTests/Benchmarks" |
| 66 | + linux_5_9_enabled: false |
| 67 | + linux_5_10_enabled: false |
| 68 | + |
| 69 | + cxx-interop: |
| 70 | + name: Cxx Interop |
| 71 | + uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
| 72 | + with: |
| 73 | + linux_5_9_enabled: false |
| 74 | + linux_5_10_enabled: false |
0 commit comments