Skip to content

Commit acf352d

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

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+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v4
10+
- name: Install Visual Studio
11+
run: winget install --id Microsoft.VisualStudio.2022.Community --exact --force --custom "--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64"
12+
- name: Install Swift
13+
run: winget install --id Swift.Toolchain -e
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)