mirror of
https://github.com/lxsang/luafcgi.git
synced 2025-04-28 19:36:47 +02:00
Update rust env vars
All checks were successful
gitea-sync/luafcgi/pipeline/head This commit looks good
All checks were successful
gitea-sync/luafcgi/pipeline/head This commit looks good
This commit is contained in:
parent
bfc33fed19
commit
5e8b44546d
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -7,20 +7,8 @@ def build_luad() {
|
|||||||
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
|
||||||
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
|
cargo build --release
|
||||||
cp $target/release/luad $DESTDIR
|
cp target/release/luad $DESTDIR
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user