mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
84 lines
3.0 KiB
YAML
84 lines
3.0 KiB
YAML
name: Pull request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
tests:
|
|
name: Test
|
|
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.10
|
|
with:
|
|
swift_flags: "-Xbuild-tools-swiftc -DSYSTEM_CI"
|
|
enable_linux_checks: true
|
|
linux_os_versions: '["noble", "jammy", "focal"]'
|
|
linux_exclude_swift_versions: |
|
|
[
|
|
{"swift_version": "5.9"},
|
|
{"swift_version": "5.10"},
|
|
{"swift_version": "6.0"},
|
|
{"os_version": "focal", "swift_version": "nightly-6.2"},
|
|
{"os_version": "focal", "swift_version": "6.2"},
|
|
{"os_version": "focal", "swift_version": "nightly-6.3"},
|
|
{"os_version": "focal", "swift_version": "6.3"},
|
|
{"os_version": "focal", "swift_version": "nightly-main"},
|
|
]
|
|
enable_macos_checks: true
|
|
macos_exclude_xcode_versions: '[]'
|
|
enable_windows_checks: true
|
|
windows_exclude_swift_versions: |
|
|
[
|
|
{"swift_version": "5.9"},
|
|
{"swift_version": "5.10"},
|
|
{"swift_version": "6.0"},
|
|
]
|
|
enable_linux_static_sdk_build: true
|
|
linux_static_sdk_exclude_swift_versions: |
|
|
[
|
|
{"os_version": "focal", "swift_version": "nightly-6.2"},
|
|
{"os_version": "focal", "swift_version": "6.2"},
|
|
{"os_version": "focal", "swift_version": "nightly-6.3"},
|
|
{"os_version": "focal", "swift_version": "6.3"},
|
|
{"os_version": "focal", "swift_version": "nightly-main"},
|
|
]
|
|
enable_wasm_sdk_build: true
|
|
wasm_exclude_swift_versions: |
|
|
[
|
|
{"os_version": "focal", "swift_version": "nightly-6.2"},
|
|
{"os_version": "focal", "swift_version": "6.2"},
|
|
{"os_version": "focal", "swift_version": "nightly-6.3"},
|
|
{"os_version": "focal", "swift_version": "6.3"},
|
|
{"os_version": "focal", "swift_version": "nightly-main"},
|
|
]
|
|
enable_android_sdk_build: true
|
|
enable_android_sdk_checks: true
|
|
enable_freebsd_checks: true
|
|
|
|
build-abi-stable:
|
|
name: Build ABI Stable
|
|
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.10
|
|
with:
|
|
enable_linux_checks: false
|
|
enable_macos_checks: true
|
|
enable_windows_checks: false
|
|
# Only build
|
|
macos_build_command: "xcrun swift build --build-tests"
|
|
macos_exclude_xcode_versions: '[]'
|
|
# Enable availability to match ABI stable verion of system.
|
|
swift_flags: "-Xbuild-tools-swiftc -DSYSTEM_CI -Xbuild-tools-swiftc -DSYSTEM_ABI_STABLE"
|
|
|
|
soundness:
|
|
name: Soundness
|
|
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.10
|
|
with:
|
|
license_header_check_project_name: "Swift.org"
|
|
# https://github.com/apple/swift-system/issues/224
|
|
docs_check_enabled: false
|
|
unacceptable_language_check_enabled: false
|
|
license_header_check_enabled: false
|
|
format_check_enabled: false
|
|
python_lint_check_enabled: false
|