File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,14 @@ jobs:
30
30
- name : Checkout repository
31
31
uses : actions/checkout@v3
32
32
33
- - name : Install dependencies
34
- run : sudo apt-get update && sudo apt-get install -y libunwind-dev gcc-aarch64-linux-gnu
33
+ - name : Install cross
34
+ run : cargo install cross --git https://github.com/cross-rs/cross.git --branch main
35
35
36
- - name : Build binary
37
- uses : houseabsolute/actions-rust-cross@v0
38
- with :
39
- command : build
40
- target : ${{ matrix.platform.target }}
41
- toolchain : ${{ matrix.toolchain }}
42
- args : " --release"
43
- strip : true
36
+ - name : Add Rust target
37
+ run : rustup target add ${{ matrix.platform.target }}
38
+
39
+ - name : Build binary with cross
40
+ run : cross build --release --target ${{ matrix.platform.target }}
44
41
45
42
- name : Rename binary
46
43
run : mv target/${{ matrix.platform.target }}/release/axs target/${{ matrix.platform.target }}/release/${{ matrix.platform.binary_name }}
You can’t perform that action at this time.
0 commit comments