Skip to content

Commit 5ef4979

Browse files
committed
Add Windows build CI
1 parent 076170a commit 5ef4979

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,28 @@ jobs:
9595
# Note: swift test builds automatically
9696
- name: Test (Swift 6.2)
9797
run: swift test -c release
98+
99+
# Windows validation (no container - use setup-swift action)
100+
windows-latest:
101+
name: Windows (Swift 6.2)
102+
runs-on: windows-latest
103+
steps:
104+
- uses: actions/checkout@v6
105+
106+
- name: Install Swift
107+
uses: SwiftyLab/setup-swift@latest
108+
with:
109+
swift-version: "6.2"
110+
111+
- name: Print Swift version
112+
run: swift --version
113+
114+
- name: Cache Swift packages
115+
uses: actions/cache@v5
116+
with:
117+
path: .build
118+
key: windows-swift62-spm-v2-${{ hashFiles('Package.swift', 'Package@*.swift') }}
119+
restore-keys: windows-swift62-spm-
120+
121+
- name: Build
122+
run: swift build -c debug -v

0 commit comments

Comments
 (0)