Update rust env vars
All checks were successful
gitea-sync/luafcgi/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-01-26 21:54:56 +01:00
parent bfc33fed19
commit 5e8b44546d

14
Jenkinsfile vendored
View File

@ -7,20 +7,8 @@ def build_luad() {
cd $WORKSPACE
mkdir -p build/$arch/opt/www/bin
DESTDIR=$WORKSPACE/build/$arch/opt/www/bin
target="x86_64-unknown-linux-gnu"
case $arch in
arm64)
target="aarch64-unknown-linux-gnu"
;;
arm)
target="armv7-unknown-linux-gnueabihf"
;;
*)
;;
esac
cargo build --release
cp $target/release/luad $DESTDIR
cp target/release/luad $DESTDIR
'''
}