Skip to content

Commit

Permalink
Merge pull request #532 from thaJeztah/ci_test_cross
Browse files Browse the repository at this point in the history
Jenkinsfile: also test cross-compile for Mac, Windows
  • Loading branch information
silvin-lubecki committed Mar 24, 2021
2 parents 1c1cb91 + eb6c611 commit 48959a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ test_steps = [
}
}
},
'static': { ->
'static-cross': { ->
stage('Static Linux Binaries') {
wrappedNode(label: 'ubuntu && x86_64', cleanWorkspace: true) {
try {
checkout scm
sh "make REF=$branch checkout"
sh "make REF=$branch DOCKER_BUILD_PKGS=static-linux static"
sh "make REF=$branch DOCKER_BUILD_PKGS='static-linux cross-mac cross-win' static"
} finally {
sh "make clean"
}
Expand Down

0 comments on commit 48959a1

Please sign in to comment.