File tree 4 files changed +7
-6
lines changed
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 17
17
toolchain : nightly-2024-05-18
18
18
components : rust-src
19
19
20
- - name : Build binaries
20
+ - name : Build binary x64
21
21
run : bash tool/build_linux.sh x64
22
22
23
23
- name : Upload binary
29
29
asset_name : libpowersync_x64.so
30
30
tag : v0.1.6
31
31
32
- - name : Build binaries
32
+ - name : Build binary aarch64
33
33
run : bash tool/build_linux.sh
34
34
35
35
- name : Upload binary
Original file line number Diff line number Diff line change @@ -16,12 +16,11 @@ jobs:
16
16
with :
17
17
toolchain : nightly-2024-05-18
18
18
components : rust-src
19
- targets : x86_64-pc-windows-msvc
20
19
21
- - name : Setup
20
+ - name : Build binary
22
21
run : bash tool/build_windows.sh x64
23
22
24
- - name : Upload binary
23
+ - name : Upload binary x64
25
24
uses : svenstaro/upload-release-action@v2
26
25
with :
27
26
repo_token : ${{ secrets.GITHUB_TOKEN }}
30
29
asset_name : powersync_x64.dll
31
30
tag : v0.1.6
32
31
33
- - name : Setup
32
+ - name : Build binary aarch64
34
33
run : bash tool/build_windows.sh
35
34
36
35
- name : Upload binary
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ if [ "$1" = "x64" ]; then
3
3
cargo build -p powersync_loadable --release
4
4
mv " target/release/libpowersync.so" " libpowersync_x64.so"
5
5
else
6
+ rustup target remove x86_64-unknown-linux-gnu
6
7
rustup target add aarch64-unknown-linux-gnu
7
8
cargo build -p powersync_loadable --release
8
9
mv " target/release/libpowersync.so" " libpowersync_aarch64.so"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ if [ "$1" = "x64" ]; then
3
3
cargo build -p powersync_loadable --release
4
4
mv " target/release/powersync.dll" " powersync_x64.dll"
5
5
else
6
+ rustup target remove x86_64-pc-windows-msvc
6
7
rustup target add aarch64-pc-windows-msvc
7
8
cargo build -p powersync_loadable --release
8
9
mv " target/release/powersync.dll" " powersync_aarch64.dll"
You can’t perform that action at this time.
0 commit comments