Jenkins add OSX builds and disable circleci (#9198)

This commit is contained in:
Daniel Agar 2018-04-12 12:19:44 -04:00 committed by GitHub
parent d4faaff854
commit 4ffa98aa2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 33 deletions

28
Jenkinsfile vendored
View File

@ -88,6 +88,34 @@ pipeline {
builds["eagle (linux)"] = createBuildNodeDockerLogin(docker_snapdragon, 'docker_hub_dagar', 'posix_eagle_default')
builds["eagle (qurt)"] = createBuildNodeDockerLogin(docker_snapdragon, 'docker_hub_dagar', 'qurt_eagle_default')
// MAC OS posix_sitl_default
builds["sitl (OSX)"] = {
node('mac') {
stage("sitl (OSX)") {
checkout scm
sh "export"
sh "make distclean"
sh "ccache -z"
sh "make posix_sitl_default"
sh "ccache -s"
}
}
}
// MAC OS nuttx_px4fmu-v4pro_default
builds["px4fmu-v4pro (OSX)"] = {
node('mac') {
stage("px4fmu-v4pro (OSX)") {
checkout scm
sh "export"
sh "make distclean"
sh "ccache -z"
sh "make nuttx_px4fmu-v4pro_default"
sh "ccache -s"
}
}
}
parallel builds
} // script
} // steps

View File

@ -1,33 +0,0 @@
machine:
xcode:
version: 8.3.3
checkout:
post:
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
- git config --global url."git://".insteadOf https://
- git submodule update --init --recursive || true
- git submodule sync --recursive
- git submodule deinit -f . && rm -rf .git/modules
- git submodule update --init --recursive --force
- make distclean
dependencies:
pre:
# PX4 OSX instructions 2017-07-28: https://dev.px4.io/en/setup/dev_env_mac.html
# After installing Homebrew, run these commands in your shell to install the common tools:
- brew update
- brew tap PX4/px4
- brew install px4-dev
# Install pip if you don't already have it and use it to install the required packages:
- sudo easy_install pip
- sudo -H pip install pyserial empy toml pandas jinja2
test:
override:
#- NO_NINJA_BUILD=1 make -j2 quick_check
- make posix_sitl_default
- make px4fmu-v4pro_default
- make tests