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:40:45 +01:00
parent 17137f407e
commit bfc33fed19

6
Jenkinsfile vendored
View File

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