|
|
@ -25,9 +25,9 @@ jobs: |
|
|
|
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 |
|
|
|
echo -e "\n\n[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 |
|
|
|
- run: cargo build --release --no-default-features --features rustls-native |
|
|
|
working-directory: ./cli |
|
|
|
working-directory: ./cli |
|
|
|
- run: cargo build --release --target aarch64-unknown-linux-gnu |
|
|
|
- run: cargo build --release --target aarch64-unknown-linux-gnu --no-default-features --features rustls-native |
|
|
|
working-directory: ./cli |
|
|
|
working-directory: ./cli |
|
|
|
env: |
|
|
|
env: |
|
|
|
BINDGEN_EXTRA_CLANG_ARGS: --sysroot /usr/aarch64-linux-gnu |
|
|
|
BINDGEN_EXTRA_CLANG_ARGS: --sysroot /usr/aarch64-linux-gnu |
|
|
|