This commit is contained in:
Kilian Hofmann 2022-01-02 00:06:26 +01:00
parent 7a1ac45e29
commit 61b98ce4e5
3 changed files with 66 additions and 10 deletions

64
Jenkinsfile vendored
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 {

View File

@ -1,11 +1,11 @@
### Develop Status
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/develop/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/develop)
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/develop/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/develop)
### Stage Status
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/stage/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/stage)
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/stage/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/stage)
### Prod Status
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/master/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/WebSocketTest/job/master)
[![Build Status](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/master/badge/icon)](https://jenkins.hofmannnet.myhome-server.de/job/GermanAirlinesVA-GAConnector/job/master)
X-Plane Plugin for all supported platforms.
Demo of WebSocket capabilities

View File

@ -2,8 +2,8 @@
mkdir -p build
cd build
mkdir -p Plugin/WebSocketTest/32
mkdir -p Plugin/WebSocketTest/64
mkdir -p Plugin/GAConnector/32
mkdir -p Plugin/GAConnector/64
rm -f CMakeCache.txt
case $1 in
@ -33,5 +33,5 @@ fi
if [ "$1" = "mac" ] && [ "$DEBUG" = "1" ]
then
/opt/osxcross/target/bin/osxcross-llvm-dsymutil Plugin/WebSocketTest/mac.xpl
/opt/osxcross/target/bin/osxcross-llvm-dsymutil Plugin/GAConnector/mac.xpl
fi