Add a "Build for other architectures" stage to the Jenkinsfile

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2022-03-13 10:23:06 +01:00
parent 74c5904d21
commit b47c8b3dc7
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 10 additions and 4 deletions

14
Jenkinsfile vendored
View File

@ -37,10 +37,16 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
echo "Building the ${env.BRANCH_NAME} branch.."
buildTarget('x86_64-linux-gnu', 'x86_64', 'amd64')
buildTarget('i686-linux-gnu', 'i386', 'i386')
buildTarget('arm-linux-gnueabi', 'armv4l', 'armel')
buildTarget('arm-linux-gnueabihf', 'armv7hl', 'armhf')
buildTarget('aarch64-linux-gnu', 'aarch64', 'arm64', false)
buildTarget('riscv64-linux-gnu', 'riscv64', 'riscv64')
}
}
stage('Build for other architectures') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
buildTarget('arm-linux-gnueabi', 'armv4l', 'armel')
buildTarget('arm-linux-gnueabihf', 'armv7hl', 'armhf')
buildTarget('aarch64-linux-gnu', 'aarch64', 'arm64', false)
buildTarget('riscv64-linux-gnu', 'riscv64', 'riscv64')
}
}
}
stage('Build for other platforms') {