Update rust env vars
Some checks failed
gitea-sync/luafcgi/pipeline/head There was a failure building this commit

This commit is contained in:
DanyLE 2023-01-26 21:19:51 +01:00
parent 751054f4c7
commit 5e079a055e

7
Jenkinsfile vendored
View File

@ -1,10 +1,9 @@
def build_luad() {
sh '''
set -e
echo $HOME
export RUSTUP_HOME=$HOME/.rustup/
export CARGO_HOME=$HOME/.cargo/
. $HOME/.cargo/env
export RUSTUP_HOME=/root/.rustup/
export CARGO_HOME=/root/.cargo/
. /root/.cargo/env
cd $WORKSPACE
mkdir -p build/$arch/opt/www/bin
DESTDIR=$WORKSPACE/build/$arch/opt/www/bin