This commit is contained in:
2022-01-02 00:06:26 +01:00
parent 7a1ac45e29
commit 61b98ce4e5
3 changed files with 66 additions and 10 deletions
Vendored
+60 -4
View File
@@ -66,9 +66,65 @@ pipeline {
sh 'rm -rf build'
}
}
stage('Build Windows Stageing') {
when {
branch 'stage'
beforeAgent true
}
agent {
docker {
image 'llvm-mingw:latest'
reuseNode true
}
}
steps {
sh 'bash ./build.sh win32'
sh 'bash ./build.sh win64'
}
}
stage('Build Linux Stageing') {
when {
branch 'stage'
beforeAgent true
}
agent {
docker {
image 'llvm:latest'
reuseNode true
}
}
steps {
sh 'bash ./build.sh lin32'
sh 'bash ./build.sh lin64'
}
}
stage('Build MacOSX Stageing') {
when {
branch 'stage'
beforeAgent true
}
agent {
docker {
image 'osxcross:latest'
reuseNode true
}
}
steps {
sh 'bash ./build.sh mac'
}
}
stage('Archive Stageing') {
when {
branch 'stage'
}
steps {
zip zipFile: 'Stage.zip', archive: true, dir: 'build/Plugin'
sh 'rm -rf build'
}
}
stage('Build Windows Release') {
when {
branch 'prod'
branch 'master'
beforeAgent true
}
agent {
@@ -84,7 +140,7 @@ pipeline {
}
stage('Build Linux Release') {
when {
branch 'prod'
branch 'master'
beforeAgent true
}
agent {
@@ -100,7 +156,7 @@ pipeline {
}
stage('Build MacOSX Release') {
when {
branch 'prod'
branch 'master'
beforeAgent true
}
agent {
@@ -115,7 +171,7 @@ pipeline {
}
stage('Archive Release') {
when {
branch 'prod'
branch 'master'
beforeAgent true
}
steps {