Skip to content

Updating wording based on DevPubs editor feedback #1648

Updating wording based on DevPubs editor feedback

Updating wording based on DevPubs editor feedback #1648

Workflow file for this run

name: Pull request
permissions:
contents: read
on:
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
needs: [soundness]
strategy:
fail-fast: false
name: Build
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.11
with:
enable_cross_pr_testing: true
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
linux_pre_build_command: ./.github/scripts/prebuild.sh
linux_build_command: 'swift run swift-build --build-tests'
windows_build_timeout: 180
windows_swift_versions: '["nightly-main", "nightly-6.2"]'
windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1'
windows_build_command: 'Invoke-Program swift run -Xlinker /ignore:4217 --configuration release swift-build --build-tests --scratch-path .tests'
enable_windows_checks: true
enable_macos_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.4\"}]"
macos_build_command: 'swift run swift-build --build-tests'
enable_ios_checks: false
# ios_build_command: 'swift run swift-build --build-tests --sdk \"$(xcrun --sdk iphoneos --show-sdk-path)\" --triple arm64-apple-ios'
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.11
with:
license_header_check_project_name: "Swift"
license_header_check_enabled: true
unacceptable_language_check_enabled: true
api_breakage_check_enabled: false
format_check_enabled: false
shell_check_enabled: false
docs_check_enabled: true
broken_symlink_check_enabled: true
python_lint_check_enabled: true
yamllint_check_enabled: true
integration-tests:
name: Integration Tests
needs: [soundness]
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.11
with:
enable_linux_checks: false
enable_windows_checks: false
enable_macos_checks: false
enable_wasm_sdk_build: true
wasm_sdk_versions: '["nightly-main"]'
wasm_sdk_pre_build_command: ./.github/scripts/prebuild.sh
# This is a hack - replace the build command with a test command and drop the --swift-sdk arg the workflow appends.
wasm_sdk_build_command: "swift test --parallel --experimental-xunit-message-failure --xunit-output wasm-xunit.xml --filter WebAssemblyIntegrationTests #"
enable_linux_static_sdk_build: true
linux_static_sdk_versions: '["nightly-main"]'
linux_static_sdk_pre_build_command: ./.github/scripts/prebuild.sh
# This is a hack - replace the build command with a test command and drop the --swift-sdk arg the workflow appends.
linux_static_sdk_build_command: "swift test --parallel --experimental-xunit-message-failure --xunit-output static-linux-xunit.xml --filter StaticLinuxIntegrationTests #"