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 3e24856Copy full SHA for 3e24856
.github/workflows/swift-wasm.yml
@@ -0,0 +1,19 @@
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
+ config: ["debug", "release"]
11
+ container: swift:${{ matrix.swift }}
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ - name: Swift Version
16
+ run: swift --version
17
+ - uses: swiftwasm/setup-swiftwasm@v2
18
+ - name: Build
19
+ run: SWIFTPM_BLUETOOTH_METADATA=0 SWIFTPM_ENABLE_PLUGINS=0 SWIFTPM_ENABLE_MACROS=0 swift build --target Bluetooth -c ${{ matrix.config }} --swift-sdk wasm32-unknown-wasi
0 commit comments