mirror of
https://github.com/apple/swift-asn1
synced 2026-11-22 04:10:39 +00:00
### 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 * Commit formatting changes in the CMakeLists files from the new script * Document how to update the CMakeLists files * Remove the obsolete scripts ### Result: Better CI coverage.
55 lines
2.1 KiB
YAML
55 lines
2.1 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: "SwiftASN1"
|
|
|
|
unit-tests:
|
|
name: Unit tests
|
|
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
|
|
with:
|
|
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
|
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
|
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --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: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
|
windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
|
windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
|
|
|
benchmarks:
|
|
name: Benchmarks
|
|
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main
|
|
with:
|
|
benchmark_package_path: "Benchmarks"
|
|
|
|
cxx-interop:
|
|
name: Cxx interop
|
|
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
|
|
|
|
static-sdk:
|
|
name: Static SDK
|
|
# Workaround https://github.com/nektos/act/issues/1875
|
|
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
|
|
|
|
cmake-lists:
|
|
name: Check cmake lists
|
|
uses: apple/swift-nio/.github/workflows/cmake_tests.yml@main
|
|
with:
|
|
update_cmake_lists_config: >-
|
|
{
|
|
"targets": [
|
|
{ "name": "SwiftASN1", "type": "source", "exceptions": [] }
|
|
]
|
|
}
|