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