mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-28 06:24:10 +01:00
LP-40 Add OSX build to Travis
This commit is contained in:
parent
2f1e7cd72d
commit
cdf44ad33b
51
.travis.yml
51
.travis.yml
@ -2,21 +2,50 @@ language: cpp
|
|||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
dist: trusty
|
matrix:
|
||||||
|
include:
|
||||||
|
# Linux builds
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
dist: trusty
|
||||||
|
before_install:
|
||||||
|
- sudo add-apt-repository ppa:librepilot/tools -y
|
||||||
|
- sudo apt-get update -q
|
||||||
|
- sudo apt-get install -y libc6-i386 libudev-dev libusb-1.0-0-dev libsdl1.2-dev python libopenscenegraph-dev libosgearth-dev qt56-meta-minimal qt56svg qt56script qt56serialport qt56multimedia qt56translations qt56tools
|
||||||
|
- make build_sdk_install
|
||||||
|
|
||||||
before_install:
|
# OSX build
|
||||||
- sudo add-apt-repository ppa:librepilot/tools -y
|
- os: osx
|
||||||
- sudo apt-get update -q
|
compiler: clang
|
||||||
- sudo apt-get install -y libc6-i386 libudev-dev libusb-1.0-0-dev libsdl1.2-dev python libopenscenegraph-dev libosgearth-dev qt56-meta-minimal qt56svg qt56script qt56serialport qt56multimedia qt56translations qt56tools
|
before_install:
|
||||||
- make build_sdk_install
|
- brew update
|
||||||
|
- brew install curl
|
||||||
|
- brew install p7zip
|
||||||
|
- brew install gnu-tar
|
||||||
|
# - brew install cmake
|
||||||
|
- brew outdated gdal || brew upgrade gdal
|
||||||
|
- brew outdated geos || brew upgrade geos
|
||||||
|
- brew install ccache
|
||||||
|
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
||||||
|
- ccache -V
|
||||||
|
- brew install qt5
|
||||||
|
- brew link --force qt5
|
||||||
|
- make arm_sdk_install
|
||||||
|
- make osg_install
|
||||||
|
- make osgearth_install
|
||||||
|
- wget https://www.libsdl.org/release/SDL-1.2.15.dmg
|
||||||
|
- hdiutil attach SDL-1.2.15.dmg
|
||||||
|
- sudo cp -r /Volumes/SDL/SDL.framework /Library/Frameworks/
|
||||||
|
- hdiutil detach /Volumes/SDL
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make config_new CCACHE=ccache
|
- make config_new CCACHE=ccache
|
||||||
- make all_flight
|
- make -j2 all_flight
|
||||||
- make fw_resource
|
- make -j2 fw_resource
|
||||||
- make gcs
|
- make -j2 gcs
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 500
|
depth: 500
|
||||||
|
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user