Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
afb20783
Unverified
Commit
afb20783
authored
Sep 06, 2018
by
Gus Grubba
Committed by
GitHub
Sep 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6857 from mavlink/airmapBuild
Airmap CI
parents
57514086
6de3e1c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
16 deletions
+42
-16
.travis.yml
.travis.yml
+4
-4
Jenkinsfile
Jenkinsfile
+38
-12
No files found.
.travis.yml
View file @
afb20783
...
...
@@ -25,10 +25,10 @@ matrix:
language
:
android
env
:
SPEC=android-g++ CONFIG=installer
sudo
:
false
-
os
:
osx
osx_image
:
xcode9.2
env
:
SPEC=macx-clang CONFIG=installer
sudo
:
required
#
- os: osx
#
osx_image: xcode9.2
#
env: SPEC=macx-clang CONFIG=installer
#
sudo: required
-
os
:
osx
osx_image
:
xcode9.2
env
:
SPEC=macx-ios-clang CONFIG=release
...
...
Jenkinsfile
View file @
afb20783
...
...
@@ -81,6 +81,9 @@ pipeline {
sh
'git submodule deinit -f .'
sh
'git clean -ff -x -d .'
sh
'git submodule update --init --recursive --force'
withCredentials
([
file
(
credentialsId:
'QGC_Airmap_api_key'
,
variable:
'AIRMAP_API_HEADER'
)])
{
sh
'cp $AIRMAP_API_HEADER ${WORKSPACE}/src/Airmap/Airmap_api_key.h'
}
sh
'mkdir build; cd build; ${QT_PATH}/${QMAKE_VER} -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=${QGC_CONFIG} CONFIG+=WarningsAsErrorsOn'
sh
'cd build; make -j`nproc --all`'
sh
'ccache -s'
...
...
@@ -131,20 +134,43 @@ pipeline {
QGC_CONFIG
=
'installer'
QMAKE_VER
=
"5.11.0/clang_64/bin/qmake"
}
steps
{
sh
'export'
sh
'ccache -z'
sh
'git submodule deinit -f .'
sh
'git clean -ff -x -d .'
sh
'git submodule update --init --recursive --force'
sh
'mkdir build; cd build; ${QT_PATH}/${QMAKE_VER} -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=${QGC_CONFIG} CONFIG+=WarningsAsErrorsOn'
sh
'cd build; make -j`sysctl -n hw.ncpu`'
sh
'ccache -s'
stages
{
stage
(
'Clean Checkout'
)
{
steps
{
sh
'export'
sh
'ccache -z'
sh
'git submodule deinit -f .'
sh
'git clean -ff -x -d .'
sh
'git submodule update --init --recursive --force'
}
}
stage
(
'Add Airmap API key'
)
{
steps
{
withCredentials
([
file
(
credentialsId:
'QGC_Airmap_api_key'
,
variable:
'AIRMAP_API_HEADER'
)])
{
sh
'cp $AIRMAP_API_HEADER ${WORKSPACE}/src/Airmap/Airmap_api_key.h'
}
}
when
{
anyOf
{
branch
'master'
;
branch
'Airmap'
;
branch
'pr-airmap_api_key'
;
branch
'Stable_*'
}
}
}
stage
(
'Build OSX Release'
)
{
steps
{
sh
'mkdir build; cd build; ${QT_PATH}/${QMAKE_VER} -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=${QGC_CONFIG} CONFIG+=WarningsAsErrorsOn'
sh
'cd build; make -j`sysctl -n hw.ncpu`'
archiveArtifacts
(
artifacts:
'build/**/*.dmg'
,
fingerprint:
true
)
sh
'ccache -s'
}
}
}
post
{
success
{
archiveArtifacts
(
artifacts:
'build/**/*.dmg'
,
fingerprint:
true
)
}
cleanup
{
sh
'git clean -ff -x -d .'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment