mirror of
https://github.com/apple/swift-crypto
synced 2026-11-24 04:37:48 +00:00
Use centralized CMake checks ### Motivation: We now have centrally-hosted CMake checks in the NIO repository which we should use to reduce maintenance. The new checks also increase coverage by performing a build with CMake as part of the checks. ### Modifications: * Use the new workflow * Document how to update the CMakeLists files * Remove the obsolete scripts ### Result: Better test coverage.
50 lines
2.0 KiB
YAML
50 lines
2.0 KiB
YAML
name: PR
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
soundness:
|
|
name: Soundness
|
|
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
|
|
with:
|
|
license_header_check_project_name: "SwiftCrypto"
|
|
docs_check_enabled: false
|
|
|
|
unit-tests:
|
|
name: Unit tests
|
|
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
|
|
with:
|
|
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
|
|
windows_6_0_enabled: true
|
|
windows_nightly_next_enabled: true
|
|
windows_nightly_main_enabled: true
|
|
windows_6_0_arguments_override: "--explicit-target-dependency-import-check error"
|
|
windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error"
|
|
windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
|
|
|
|
cxx-interop:
|
|
name: Cxx interop
|
|
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
|
|
|
|
cmake-checks:
|
|
name: CMake checks
|
|
uses: apple/swift-nio/.github/workflows/cmake_tests.yml@main
|
|
with:
|
|
update_cmake_lists_config: >-
|
|
{
|
|
"targets": [
|
|
{ "name": "CCryptoBoringSSL", "type": "source", "exceptions": [] },
|
|
{ "name": "CCryptoBoringSSLShims", "type": "source", "exceptions": [] },
|
|
{ "name": "CryptoBoringWrapper", "type": "source", "exceptions": [] },
|
|
{ "name": "Crypto", "type": "source", "exceptions": [] },
|
|
{ "name": "_CryptoExtras", "type": "source", "exceptions": [] },
|
|
{ "name": "CCryptoBoringSSL", "type": "assembly", "exceptions": [ "*/AES/*.swift" ] }
|
|
]
|
|
}
|