File tree 2 files changed +7
-20
lines changed
2 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -18,26 +18,10 @@ jobs:
18
18
components : rust-src
19
19
targets : x86_64-pc-windows-msvc
20
20
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
-
37
21
- name : Setup
38
22
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"
41
25
42
26
- name : Upload binary
43
27
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
39
39
40
40
``` sh
41
41
# Build the shell
42
- cargo build -t powersync_sqlite
42
+ cargo build -p powersync_sqlite
43
43
./target/debug/powersync_sqlite test.db " select powersync_rs_version()"
44
44
45
45
# Build the loadable extension
46
46
cargo 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
48
51
49
52
# Build for iOS
50
53
./all-ios-loadable.sh
You can’t perform that action at this time.
0 commit comments