Jenkinsfile: Catch errors from emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
a98cd3e534
commit
c720769305
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -50,10 +50,12 @@ pipeline {
|
|||||||
echo "Building the ${env.BRANCH_NAME} branch.."
|
echo "Building the ${env.BRANCH_NAME} branch.."
|
||||||
buildTarget('x86_64-linux-musl', 'x86_64', 'amd64')
|
buildTarget('x86_64-linux-musl', 'x86_64', 'amd64')
|
||||||
buildTarget('i686-linux-musl', 'i386', 'i386')
|
buildTarget('i686-linux-musl', 'i386', 'i386')
|
||||||
cmakeBuild buildDir: "cmake-build-release-emscripten", buildType: 'release', cleanBuild: true, installation: 'Latest',
|
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
|
||||||
cmakeArgs: "-DCMAKE_TOOLCHAIN_FILE=\"/usr/share/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake\" ${no_compilation_cache_flags()} -DNO_SELF_PACKER=ON",
|
cmakeBuild buildDir: "cmake-build-release-emscripten", buildType: 'release', cleanBuild: true, installation: 'Latest',
|
||||||
generator: cmake_generator()
|
cmakeArgs: "-DCMAKE_TOOLCHAIN_FILE=\"/usr/share/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake\" ${no_compilation_cache_flags()} -DNO_SELF_PACKER=ON",
|
||||||
cmake arguments: "--build ./cmake-build-release-emscripten", installation: 'Latest'
|
generator: cmake_generator()
|
||||||
|
cmake arguments: "--build ./cmake-build-release-emscripten", installation: 'Latest'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build for other architectures') {
|
stage('Build for other architectures') {
|
||||||
|
Loading…
Reference in New Issue
Block a user