Skip to content

Commit 372d046

Browse files
committed
Build side modules on GitHub Actions.
1 parent 8b4ce46 commit 372d046

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/wasm.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,13 @@ jobs:
1616
toolchain: nightly-2024-05-18
1717
components: rust-src
1818

19+
- name: Setup emsdk
20+
uses: mymindstorm/setup-emsdk@v14
21+
with:
22+
version: 3.1.68
23+
1924
- name: Build WASM bytecode
2025
run: RUSTFLAGS="--emit=llvm-bc -C linker=/bin/true" cargo build -p powersync_loadable --profile wasm --no-default-features --features "powersync_core/static powersync_core/omit_load_extension sqlite_nostd/static sqlite_nostd/omit_load_extension" -Z build-std=panic_abort,core,alloc --target wasm32-unknown-emscripten
26+
27+
- name: Build WASM SIDE_MODULE
28+
run: ./tool/build_wasm.sh

0 commit comments

Comments
 (0)