File tree Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 99 with :
1010 toolchain : nightly-2025-04-15
1111 components : rust-src
12- targets : x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
13-
12+ targets : x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,i686-pc-windows-msvc
13+
1414 - name : Build binaries
1515 shell : bash
1616 run : |
2424 path : |
2525 powersync_x64.dll
2626 powersync_aarch64.dll
27+ powersync_x86.dll
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
4- if [ " $1 " = " x64" ]; then
5- cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target x86_64-pc-windows-msvc
6- mv " target/x86_64-pc-windows-msvc/release/powersync.dll" " powersync_x64.dll"
7- else
8- # Note: aarch64-pc-windows-msvc has not been tested.
9- cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target aarch64-pc-windows-msvc
10- mv " target/aarch64-pc-windows-msvc/release/powersync.dll" " powersync_aarch64.dll"
11- fi
4+ case " $1 " in
5+ x64)
6+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target x86_64-pc-windows-msvc
7+ mv " target/x86_64-pc-windows-msvc/release/powersync.dll" " powersync_x64.dll"
8+ ;;
9+ x86)
10+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target i686-pc-windows-msvc
11+ mv " target/i686-pc-windows-msvc/release/powersync.dll" " powersync_x86.dll"
12+ ;;
13+ aarch64)
14+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target aarch64-pc-windows-msvc
15+ mv " target/aarch64-pc-windows-msvc/release/powersync.dll" " powersync_aarch64.dll"
16+ ;;
17+ * )
18+ echo " Unknown architecture"
19+ exit 1
20+ ;;
21+ esac
You can’t perform that action at this time.
0 commit comments