Commit 029a480d authored by Daniel Agar's avatar Daniel Agar

Jenkinsfile add OSX debug build

parent 692f2e9c
......@@ -3,6 +3,26 @@ pipeline {
stages {
stage('build') {
parallel {
stage('OSX Debug') {
agent {
node {
label 'mac'
}
}
environment {
QT_FATAL_WARNINGS = '1'
QMAKESPEC = 'macx-clang'
}
steps {
sh 'git submodule deinit -f .'
sh 'git clean -ff -x -d .'
sh 'git submodule update --init --recursive --force'
sh 'rm -rf ${SHADOW_BUILD_DIR}; mkdir -p ${SHADOW_BUILD_DIR}'
sh 'cd ${SHADOW_BUILD_DIR}; ${QT_PATH}/5.9.3/clang_64/bin/qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=debug CONFIG+=WarningsAsErrorsOn'
sh 'cd ${SHADOW_BUILD_DIR}; make -j`sysctl -n hw.ncpu`'
sh 'ccache -s'
}
}
stage('OSX Release') {
agent {
node {
......@@ -31,4 +51,4 @@ pipeline {
CCACHE_CPP2 = '1'
CCACHE_BASEDIR = '${WORKSPACE}'
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment