Skip to content

[CI] Build with Wasm SDK #21

[CI] Build with Wasm SDK

[CI] Build with Wasm SDK #21

Workflow file for this run

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:
name: Static SDK
# Workaround https://github.com/nektos/act/issues/1875
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
with:
env_vars: '{"ENABLE_ALL_TRAITS":"1"}'
command_arguments: '--product Configuration'
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
wasm-sdk:
name: WebAssembly Swift SDK
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
enable_wasm_sdk_build: true
enable_linux_checks: false
enable_windows_checks: false
linux_env_vars: "ENABLE_ALL_TRAITS=1"
swift_flags: --target Configuration
swift_nightly_flags: --target Configuration