Skip to content

Commit

Permalink
Use Jenkins, per machine env var defined path to Qt
Browse files Browse the repository at this point in the history
Use runtime discovery of cpu core count
  • Loading branch information
dogmaphobic committed Jan 31, 2018
1 parent ba1ccff commit 8a97e13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pipeline {
node {
label 'mac'
}

}
environment {
QT_FATAL_WARNINGS = '1'
Expand All @@ -19,8 +18,8 @@ pipeline {
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/5.9.3/clang_64/bin/qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=release CONFIG+=WarningsAsErrorsOn'
sh 'cd ${SHADOW_BUILD_DIR}; make -j24'
sh 'cd ${SHADOW_BUILD_DIR}; ${QT_BIN_PATH}/5.9.3/clang_64/bin/qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=release CONFIG+=WarningsAsErrorsOn'
sh 'cd ${SHADOW_BUILD_DIR}; make -j`sysctl -n hw.ncpu`'
sh 'ccache -s'
}
}
Expand Down

0 comments on commit 8a97e13

Please sign in to comment.