Fixes linux aarch64 build

pull/706/head
Tpt 12 months ago
parent 025bd2afd2
commit ed94f56ab4
  1. 3
      .github/workflows/artifacts.yml

@ -23,7 +23,8 @@ jobs:
- run: rustup update && rustup target add aarch64-unknown-linux-gnu
- run: |
sudo apt update && sudo apt-get install -y g++-aarch64-linux-gnu
echo -e "\n\n[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml
mkdir .cargo
echo -e "[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml
- uses: Swatinem/rust-cache@v2
- run: cargo build --release --no-default-features --features rustls-native
working-directory: ./cli

Loading…
Cancel
Save