Skip to content

Commit 0674d35

Browse files
committed
Update GitHub CI for Windows
1 parent 7a39338 commit 0674d35

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Swift Windows
2+
on: [push]
3+
jobs:
4+
windows-build:
5+
name: Windows
6+
runs-on: windows-latest
7+
strategy:
8+
matrix:
9+
swift: ["6.0.3", "6.1.2"]
10+
config: ["debug", "release"]
11+
options: ["", "SWIFT_BUILD_DYNAMIC_LIBRARY=1", "SWIFT_BLUETOOTH_C_SHIMS=1"]
12+
steps:
13+
- uses: compnerd/gha-setup-swift@main
14+
with:
15+
branch: swift-${{ matrix.swift }}-release
16+
tag: ${{ matrix.swift }}-RELEASE
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Swift Version
20+
run: swift --version
21+
- name: Build
22+
run: ${{ matrix.options }} swift build -c ${{ matrix.config }}

0 commit comments

Comments
 (0)