File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
name : " linux"
5
5
jobs :
6
- build :
7
- name : Building Linux
6
+ build_x86_64 :
7
+ name : Building Linux x86_64
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : actions/checkout@v3
29
29
repo_token : ${{ secrets.GITHUB_TOKEN }}
30
30
file : libpowersync_x64.so
31
31
asset_name : libpowersync_x64.so
32
- tag : 0.1.6
32
+ tag : v0.1.6
33
+
34
+ build_aarch64 :
35
+ name : Building Linux aarch64
36
+ runs-on : ubuntu-latest
37
+ steps :
38
+ - uses : actions/checkout@v3
39
+ with :
40
+ submodules : true
41
+
42
+ - name : Install Rust Nightly
43
+ uses : dtolnay/rust-toolchain@stable
44
+ with :
45
+ toolchain : nightly-2024-05-18
46
+ components : rust-src
47
+ targets : aarch64-unknown-linux-gnu
48
+
49
+ - name : Setup
50
+ run : |
51
+ cargo build -p powersync_loadable --release
52
+ mv "target/release/libpowersync.so" "libpowersync_aarch64.so"
53
+
54
+ - name : Upload binary
55
+ uses : svenstaro/upload-release-action@v2
56
+ with :
57
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
58
+ file : libpowersync_aarch64.so
59
+ asset_name : libpowersync_aarch64.so
60
+ tag : v0.1.6
You can’t perform that action at this time.
0 commit comments