CI: fixes linux cross-compilation v2

pull/483/head
Tpt 2 years ago committed by Thomas Tanon
parent b8c5628e3b
commit cf03da0fab
  1. 2
      .github/workflows/artifacts.yml

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

Loading…
Cancel
Save