Skip to content

[CI] Add workflows for release and static SDK builds #91

[CI] Add workflows for release and static SDK builds

[CI] Add workflows for release and static SDK builds #91

Workflow file for this run

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_os_versions: '["jammy", "focal"]'
enable_macos_checks: false
macos_xcode_versions: '["16.3"]'
release-build:
name: Build (Release)
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
linux_os_versions: '["jammy", "focal"]'
linux_build_command: "swift build -c release"
windows_build_command: "swift build -c release"
enable_macos_checks: false
static-sdk-build:
name: Build (6.2 Linux Static SDK)
runs-on: ubuntu-latest
container: swiftlang/swift:nightly-6.2-noble
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Install dependencies
run: which curl || (apt -q update && apt -yq install curl)
- name: Mark script as executable
run: chmod +x .github/workflows/scripts/install-and-build-with-6.2-static-sdk.sh
- name: Install static SDK and build
run: bash ./.github/workflows/scripts/install-and-build-with-6.2-static-sdk.sh
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-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