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() { def build_luad() {
sh '''#!/bin/bash sh '''#!/bin/bash
set -e set -e
export RUSTUP_HOME=/root/.rustup/ export RUSTUP_HOME=/opt/rust/rustup
export CARGO_HOME=/root/.cargo/ export CARGO_HOME=/opt/rust/cargo
. /root/.cargo/env . /opt/rust/cargo/env
cd $WORKSPACE cd $WORKSPACE
mkdir -p build/$arch/opt/www/bin mkdir -p build/$arch/opt/www/bin
DESTDIR=$WORKSPACE/build/$arch/opt/www/bin DESTDIR=$WORKSPACE/build/$arch/opt/www/bin