Only strip the executable found in ./cmake-build-release.

This commit is contained in:
Username404 2021-08-09 18:29:13 +02:00
parent ed6851f8e7
commit a875f8ab80
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

2
Jenkinsfile vendored
View File

@ -19,8 +19,8 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
cmakeBuild buildDir: 'cmake-build-release-arm', buildType: 'release', cleanBuild: true, installation: 'Main',
cmakeArgs: '-DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabi-gcc -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabi-g++ -DCMAKE_LINKER=/usr/bin/arm-linux-gnueabi-ld.gold -DCMAKE_AR=/usr/bin/arm-linux-gnueabi-ar -DCPACK_RPM_PACKAGE_ARCHITECTURE=armv4l -DCPACK_DEBIAN_PACKAGE_ARCHITECTURE=armel'
cmake arguments: '--build ./cmake-build-release --target ybcon -- -j 4', installation: 'Main'
sh 'strip ./cmake-build-release/ybcon'
cmake arguments: '--build ./cmake-build-release-arm --target ybcon -- -j 4', installation: 'Main'
sh 'strip ./cmake-build-*/ybcon'
}
}
stage('Cross-compile') {