|
| 1 | +name: PR |
| 2 | + |
| 3 | +permissions: |
| 4 | + contents: read |
| 5 | + |
| 6 | +on: |
| 7 | + pull_request: |
| 8 | + types: [opened, reopened, synchronize] |
| 9 | + |
| 10 | +jobs: |
| 11 | + soundness: |
| 12 | + name: Soundness |
| 13 | + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main |
| 14 | + with: |
| 15 | + license_header_check_project_name: "SwiftCrypto" |
| 16 | + docs_check_enabled: false |
| 17 | + |
| 18 | + unit-tests: |
| 19 | + name: Unit tests |
| 20 | + uses: apple/swift-nio/.github/workflows/unit_tests.yml@main |
| 21 | + with: |
| 22 | + linux_5_10_arguments_override: "--explicit-target-dependency-import-check error" |
| 23 | + linux_6_0_arguments_override: "--explicit-target-dependency-import-check error" |
| 24 | + linux_6_1_arguments_override: "--explicit-target-dependency-import-check error" |
| 25 | + linux_6_2_arguments_override: "--explicit-target-dependency-import-check error" |
| 26 | + linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error" |
| 27 | + linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" |
| 28 | + windows_6_0_enabled: true |
| 29 | + windows_6_1_enabled: true |
| 30 | + windows_6_2_enabled: true |
| 31 | + windows_nightly_next_enabled: true |
| 32 | + windows_nightly_main_enabled: true |
| 33 | + windows_6_0_arguments_override: "--explicit-target-dependency-import-check error" |
| 34 | + windows_6_1_arguments_override: "--explicit-target-dependency-import-check error" |
| 35 | + windows_6_2_arguments_override: "--explicit-target-dependency-import-check error" |
| 36 | + windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error" |
| 37 | + windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" |
| 38 | + |
| 39 | + release-builds: |
| 40 | + name: Release builds |
| 41 | + uses: apple/swift-nio/.github/workflows/release_builds.yml@main |
| 42 | + with: |
| 43 | + windows_6_0_enabled: true |
| 44 | + windows_6_1_enabled: true |
| 45 | + windows_6_2_enabled: true |
| 46 | + windows_nightly_next_enabled: true |
| 47 | + windows_nightly_main_enabled: true |
| 48 | + |
| 49 | + cxx-interop: |
| 50 | + name: Cxx interop |
| 51 | + uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
| 52 | + |
| 53 | + cmake-checks: |
| 54 | + name: CMake checks |
| 55 | + uses: apple/swift-nio/.github/workflows/cmake_tests.yml@main |
| 56 | + with: |
| 57 | + update_cmake_lists_config: >- |
| 58 | + { |
| 59 | + "targets": [ |
| 60 | + { "name": "CCryptoBoringSSL", "type": "source", "exceptions": [] }, |
| 61 | + { "name": "CCryptoBoringSSLShims", "type": "source", "exceptions": [] }, |
| 62 | + { "name": "CryptoBoringWrapper", "type": "source", "exceptions": [] }, |
| 63 | + { "name": "CXKCP", "type": "source", "exceptions": [] }, |
| 64 | + { "name": "CXKCPShims", "type": "source", "exceptions": [] }, |
| 65 | + { "name": "Crypto", "type": "source", "exceptions": [] }, |
| 66 | + { "name": "CryptoExtras", "type": "source", "exceptions": [] }, |
| 67 | + { "name": "CCryptoBoringSSL", "type": "assembly", "exceptions": [ "*/AES/*.swift" ] } |
| 68 | + ] |
| 69 | + } |
| 70 | +
|
| 71 | + macos-tests: |
| 72 | + name: macOS tests |
| 73 | + uses: apple/swift-nio/.github/workflows/macos_tests.yml@main |
| 74 | + with: |
| 75 | + runner_pool: general |
| 76 | + build_scheme: swift-crypto-Package |
| 77 | + |
| 78 | + static-sdk: |
| 79 | + name: Static SDK |
| 80 | + uses: apple/swift-nio/.github/workflows/static_sdk.yml@main |
0 commit comments