Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
jobs:
macos:
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -42,6 +43,7 @@ jobs:
env_vars: MD_APPLE_SDK_ROOT,RUNNER_OS,RUNNER_ARCH

linux:
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -79,14 +81,27 @@ jobs:
runs-on: windows-latest
name: windows (${{ matrix.tag }})
steps:
- uses: compnerd/gha-setup-swift@main
- name: Setup Swift
uses: compnerd/gha-setup-swift@main
with:
tag: ${{ matrix.tag }}
branch: ${{ matrix.branch }}
- uses: actions/checkout@v4
- run: swift test
swift-version: development
swift-build: DEVELOPMENT-SNAPSHOT-2025-08-27-a
update-sdk-modules: true

- uses: actions/checkout@v5
- run: |
$ExperimentalSDK = "$(Split-Path -Path ${env:SDKROOT} -Parent)/WindowsExperimental.sdk"
swift test --triple x86_64-unknown-windows-msvc -Xswiftc -sdk -Xswiftc ${ExperimentalSDK} -Xswiftc -static-stdlib

- name: 'Upload EXE'
uses: actions/upload-artifact@v4
with:
name: swiftformat.exe
path: .build/x86_64-unknown-windows-msvc/release/swiftformat.exe
retention-days: 1

command-line-tool:
if: false
strategy:
fail-fast: false
matrix:
Expand All @@ -106,6 +121,7 @@ jobs:
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat (Command Line Tool)" -sdk macosx clean build

swiftformat-for-xcode:
if: false
strategy:
fail-fast: false
matrix:
Expand All @@ -125,6 +141,7 @@ jobs:
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat for Xcode" -sdk macosx clean build

editor-extension:
if: false
strategy:
fail-fast: false
matrix:
Expand Down
Loading