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 7f9d7d4 commit 7a39338Copy full SHA for 7a39338
1 file changed
.github/workflows/swift-wasm.yml
@@ -0,0 +1,18 @@
1
+name: Swift WASM
2
+on: [push]
3
+jobs:
4
+ build-wasm:
5
+ name: Build for WASM
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ swift: ["6.0.3"]
10
+ container: swift:${{ matrix.swift }}
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+ - name: Swift Version
15
+ run: swift --version
16
+ - uses: swiftwasm/setup-swiftwasm@v2
17
+ - name: Build
18
+ run: SWIFTPM_BLUETOOTH_METADATA=0 SWIFTPM_ENABLE_PLUGINS=0 SWIFTPM_ENABLE_MACROS=0 swift build --target Bluetooth --swift-sdk wasm32-unknown-wasi
0 commit comments