Skip to content

Commit 20bb298

Browse files
committed
Update GitHub CI for Windows
1 parent 7a39338 commit 20bb298

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Swift Windows
2+
on: [push]
3+
jobs:
4+
build-windows:
5+
name: Build for Windows
6+
runs-on: windows-latest
7+
strategy:
8+
matrix:
9+
swift: ["6.0.3", "6.1.2"]
10+
container: swift:${{ matrix.swift }}-windowsservercore-ltsc2022
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Swift Version
15+
run: swift --version
16+
- name: Build
17+
run: SWIFTPM_BLUETOOTH_METADATA=0 SWIFTPM_ENABLE_PLUGINS=0 SWIFTPM_ENABLE_MACROS=0 swift build --target Bluetooth

0 commit comments

Comments
 (0)