Files
swift-collections/.github/workflows/pull_request.yml
T
Max Desiatov 868884d743 Add checks for Wasm compatibility to pull_request.yml
This library currently has no PR testing for Wasm, even though it's a dependency of other libraries that declare Wasm support. To prevent possible future regressions, let's add Wasm build checks to the CI workflows.

rdar://135961596
2025-08-20 10:46:57 +02:00

46 lines
1.6 KiB
YAML

name: Pull request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: Test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}]'
windows_exclude_swift_versions: '[{"swift_version": "5.9"}]'
macos_exclude_xcode_versions: '[{"xcode_version": "16.0"}, {"xcode_version": "16.1"}]'
enable_macos_checks: true
enable_wasm_sdk_build: true
embedded-swift:
name: Build with Embedded Swift
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
enable_linux_checks: false
enable_macos_checks: false
enable_windows_checks: false
enable_wasm_sdk_build: false
enable_embedded_wasm_sdk_build: true
swift_flags: --target Collections
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "Swift.org"
# https://github.com/apple/swift-collections/issues/428
python_lint_check_enabled: false
# https://github.com/apple/swift-collections/issues/429
docs_check_enabled: false
# https://github.com/apple/swift-collections/issues/430
shell_check_enabled: false
# https://github.com/apple/swift-collections/issues/431
format_check_enabled: false
# https://github.com/apple/swift-collections/issues/434
license_header_check_enabled: false
# https://github.com/apple/swift-collections/issues/435
api_breakage_check_enabled: false