Update .forgejo/workflows/tfclient.yml
This commit is contained in:
parent
ceecf9cea1
commit
431a1b3b37
|
@ -48,10 +48,10 @@ jobs:
|
||||||
run: rustup target add aarch64-unknown-linux-gnu
|
run: rustup target add aarch64-unknown-linux-gnu
|
||||||
- name: Install additional dependencies
|
- name: Install additional dependencies
|
||||||
run: apt update && apt-get install -y libclang-dev clang sshpass rsync gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu
|
run: apt update && apt-get install -y libclang-dev clang sshpass rsync gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu
|
||||||
- name: Set RUSTFLAGS
|
|
||||||
run: echo "-C linker=arm-linux-androideabi-gcc" >> $RUSTFLAGS
|
|
||||||
- name: Compile release binary
|
- name: Compile release binary
|
||||||
uses: https://github.com/actions-rs/cargo@v1
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C linker=aarch64-linux-gnu-gcc"
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --bin tfclient --target aarch64-unknown-linux-gnu
|
args: --release --bin tfclient --target aarch64-unknown-linux-gnu
|
||||||
|
|
Loading…
Reference in New Issue