Update build.yml

This commit is contained in:
Eugene 2024-07-22 10:10:48 +02:00
parent 6e1d8868f8
commit f1fed5feb6
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -213,6 +213,8 @@ jobs:
elif [[ ${{matrix.arch}} == 'armhf' ]]; then
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/arm-linux-gnueabihf/pkgconfig/
fi
export RUSTUP_HOME=/rustup
export CARGO_HOME=/cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
source "$HOME/.cargo/env"
rustup target add ${{matrix.rust_triple}}