mirror of
https://github.com/apple/swift-asn1
synced 2026-11-22 04:10:39 +00:00
* Migrate to GitHub Actions reusable workflows (1) Motivation: Migrate to GitHub Actions reusable workflows whilst keeping CI green. Modifications: As the first step in migrating to use GitHub actions this PR provides the workflows which will be used in the future, at first in disabled state so that we can keep CI green during the changeover. Result: Once this PR is merged we can: * Enable the new CI * In a future PR neutralize the old CI scripts * Disable the old CI via GitHub * In a future PR Delete the old CI scripts * add scheduled GHA CI * Update .github/workflows/pull_request.yml Co-authored-by: Franz Busch <privat@franz-busch.de> * review comments --------- Co-authored-by: Franz Busch <privat@franz-busch.de>
42 lines
1.6 KiB
YAML
42 lines
1.6 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:
|
|
# These are set to false to stage this in with the old CI.
|
|
# A follow-up PR will cut them over.
|
|
api_breakage_check_enabled: false
|
|
broken_symlink_check_enabled: false
|
|
docs_check_enabled: false
|
|
format_check_enabled: false
|
|
license_header_check_enabled: false
|
|
license_header_check_project_name: "SwiftASN1"
|
|
shell_check_enabled: false
|
|
unacceptable_language_check_enabled: false
|
|
unit-tests:
|
|
name: Unit tests
|
|
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
|
|
with:
|
|
linux_5_8_enabled: false
|
|
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_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_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
|
|
with:
|
|
linux_5_8_enabled: false
|
|
|
|
swift-6-language-mode:
|
|
name: Swift 6 Language Mode
|
|
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
|
|
if: false # Disabled for now.
|