File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,26 +18,10 @@ jobs:
1818 components : rust-src
1919 targets : x86_64-pc-windows-msvc
2020
21- # - name: Install Perl
22- # uses: shogo82148/actions-setup-perl@v1
23- # with:
24- # distribution: strawberry
25- # perl-version: "5.32"
26-
27- # - name: Install make with Chocolatey
28- # shell: bash
29- # run: choco install make
30-
31- # - name: Set Windows environment variables
32- # shell: pwsh
33- # run: |
34- # echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
35- # echo "OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl" >> $env:GITHUB_ENV
36-
3721 - name : Setup
3822 run : |
39- cargo build -p powersync_loadable --release --target x86_64-pc-windows-msvc -Zbuild-std
40- mv "target/x86_64-pc-windows-msvc/ release/powersync.dll" "powersync_x64.dll"
23+ cargo build -p powersync_loadable --release
24+ mv "target/release/powersync.dll" "powersync_x64.dll"
4125
4226 - name : Upload binary
4327 uses : svenstaro/upload-release-action@v2
Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ git submodule update --init --recursive
3939
4040``` sh
4141# Build the shell
42- cargo build -t powersync_sqlite
42+ cargo build -p powersync_sqlite
4343./target/debug/powersync_sqlite test.db " select powersync_rs_version()"
4444
4545# Build the loadable extension
4646cargo build -p powersync_loadable
47- sqlite3 " :memory:" " .load ./target/debug/libpowersync" " select powersync_rs_version()"
47+ sqlite3 " :memory:" " .load ./target/debug/libpowersync" " select powersync_rs_version()" # This requires sqlite3 installed
48+
49+ # Build the release loadable extension
50+ cargo build -p powersync_loadable --release
4851
4952# Build for iOS
5053./all-ios-loadable.sh
You can’t perform that action at this time.
0 commit comments