Fixes linux aarch64 build

pull/706/head
Tpt 11 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: rustup update && rustup target add aarch64-unknown-linux-gnu
- run: | - run: |
sudo apt update && sudo apt-get install -y g++-aarch64-linux-gnu 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 - uses: Swatinem/rust-cache@v2
- run: cargo build --release --no-default-features --features rustls-native - run: cargo build --release --no-default-features --features rustls-native
working-directory: ./cli working-directory: ./cli

Loading…
Cancel
Save