name: PR permissions: contents: read on: pull_request: types: [opened, reopened, synchronize] jobs: soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.13 with: license_header_check_project_name: "SwiftCrypto" docs_check_enabled: false format_check_container_image: "swift:latest" unit-tests: name: Unit tests uses: apple/swift-nio/.github/workflows/unit_tests.yml@main with: linux_6_2_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" linux_6_3_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" linux_nightly_next_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" windows_6_2_enabled: true windows_6_3_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true windows_6_2_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" windows_6_3_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" windows_nightly_next_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" release-builds: name: Release builds uses: apple/swift-nio/.github/workflows/release_builds.yml@main with: windows_6_2_enabled: true windows_6_3_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true cxx-interop: name: Cxx interop uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main cmake-checks: name: CMake checks strategy: fail-fast: false matrix: swift_version: ["6.2", "6.3", "6.4"] uses: apple/swift-nio/.github/workflows/cmake_tests.yml@main with: update_cmake_lists_config: >- { "targets": [ { "name": "CCryptoBoringSSL", "type": "source", "exceptions": [] }, { "name": "CryptoBoringWrapper", "type": "source", "exceptions": [] }, { "name": "CXKCP", "type": "source", "exceptions": [] }, { "name": "CXKCPShims", "type": "source", "exceptions": [] }, { "name": "Crypto", "type": "source", "exceptions": [] }, { "name": "CryptoExtras", "type": "source", "exceptions": [] }, { "name": "CCryptoBoringSSL", "type": "assembly", "exceptions": [ "*/AES/*.swift" ] } ] } image: "swift:${{ matrix.swift_version }}" macos-tests: name: macOS tests uses: apple/swift-nio/.github/workflows/macos_tests.yml@main with: runner_pool: general build_scheme: swift-crypto-Package swift_6_1_enabled: false static-sdk: name: Static SDK uses: apple/swift-nio/.github/workflows/static_sdk.yml@main