Update build.yml

This commit is contained in:
Eugene 2024-07-22 09:41:14 +02:00
parent c2d437d407
commit 8514f3308b
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -214,9 +214,9 @@ jobs:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/arm-linux-gnueabihf/pkgconfig/
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
rustup target add ${{matrix.rust_triple}}
source "$HOME/.cargo/env"
export ARCH=${{matrix.build-arch}} npm_config_arch=${{matrix.build-arch}} npm_config_target_arch=${{matrix.build-arch}}
rustup target add ${{matrix.rust_triple}}
export ARCH=${{matrix.build-arch}} npm_config_arch=${{matrix.build-arch}} npm_config_target_arch=${{matrix.build-arch}} RUST_TARGET_TRIPLE=${{matrix.rust_triple}}
npm i -g yarn
yarn --network-timeout 1000000 --arch=${{matrix.build-arch}} --target_arch=${{matrix.build-arch}}"
if: matrix.build-arch != 'x64'