Use the general runner pool for PRs #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
env: | |
ENABLE_ALL_TRAITS: "1" | |
jobs: | |
soundness: | |
name: Soundness | |
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | |
with: | |
license_header_check_project_name: "SwiftConfiguration" | |
unit-tests: | |
name: Unit tests | |
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | |
with: | |
linux_env_vars: '{"ENABLE_ALL_TRAITS":"1"}' | |
linux_5_10_enabled: false | |
linux_6_0_enabled: false | |
linux_6_1_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 is disabled, blocked on Swift Service Lifecycle Windows support: https://github.com/swift-server/swift-service-lifecycle/issues/213 | |
windows_6_0_enabled: false | |
windows_6_1_enabled: false | |
windows_nightly_6_1_enabled: false | |
windows_nightly_main_enabled: false | |
windows_6_1_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error" | |
windows_nightly_6_1_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error" | |
windows_nightly_main_arguments_override: "--enable-all-traits --explicit-target-dependency-import-check error" | |
# Static SDK build blocked on the fact that ConfigurationTesting depends on Swift Testing, | |
# which doesn't build for Musl. We need a way to only build the Configuration target for Musl. | |
# Waiting on: https://github.com/apple/swift-nio/pull/3377 | |
# static-sdk: | |
# name: Static SDK | |
# # Workaround https://github.com/nektos/act/issues/1875 | |
# uses: apple/swift-nio/.github/workflows/static_sdk.yml@main | |
macos-tests: | |
name: macOS tests | |
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main | |
with: | |
env_vars: '{"ENABLE_ALL_TRAITS":"1"}' | |
runner_pool: general | |
build_scheme: swift-configuration-Package | |
xcode_16_2_enabled: false | |
release-builds: | |
name: Release builds | |
uses: apple/swift-nio/.github/workflows/release_builds.yml@main | |
with: | |
linux_env_vars: '{"ENABLE_ALL_TRAITS":"1"}' | |
linux_5_10_enabled: false | |
linux_6_0_enabled: false | |
windows_6_0_enabled: false | |
windows_6_1_enabled: false | |
windows_nightly_next_enabled: false | |
windows_nightly_main_enabled: false |