We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a39338 commit acf352dCopy full SHA for acf352d
1 file changed
.github/workflows/swift-windows.yml
@@ -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