mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
754fffc795
This feature is in beta right now and might change without notice, but instead of dealing with the broken Travis Mac builds, this does seem progress. The build artifact seems to work, but it's a bit more painful to get to. Go to https://github.com/Subsurface-divelog/subsurface/actions and click on the corresponding run - it's then in the top right corner under Artifacts. The one oddity is that after unzipping the file you need to manually make Contents/MacOS/Subsurface executable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
91 lines
2.1 KiB
YAML
91 lines
2.1 KiB
YAML
|
|
|
|
matrix:
|
|
include:
|
|
- env: SUBSURFACE_PLATFORM='ios'
|
|
os: osx
|
|
osx_image: xcode9.3
|
|
language: c++
|
|
|
|
- env: SUBSURFACE_PLATFORM='windows-container'
|
|
os: linux
|
|
filter_secrets: false
|
|
language: c++
|
|
services:
|
|
- docker
|
|
|
|
- env: SUBSURFACE_PLATFORM='linux'
|
|
os: linux
|
|
dist: trusty
|
|
language: c++
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- git
|
|
- g++
|
|
- make
|
|
- autoconf
|
|
- automake
|
|
- libtool
|
|
- cmake
|
|
- pkg-config
|
|
- libxml2-dev
|
|
- libxslt1-dev
|
|
- libzip-dev
|
|
- libsqlite3-dev
|
|
- libusb-1.0-0-dev
|
|
- libssl-dev
|
|
- libssh2-1-dev
|
|
- libcurl4-openssl-dev
|
|
# Not a subsurface dependency, but a Qt dependency
|
|
- mesa-common-dev
|
|
- libqt5gui5
|
|
- libxcb-xinerama0
|
|
# Not a subsurface dependency, but a QtMultimedia/libdeclarative_multimedia.so dependency
|
|
- libpulse-mainloop-glib0
|
|
# Not a subsurface dependency, but a QtWebKit dependency
|
|
- libhyphen-dev
|
|
- libicu52
|
|
# For SmartTrak import
|
|
- libglib2.0-dev
|
|
- mdbtools-dev
|
|
|
|
- env: SUBSURFACE_PLATFORM='linux-trusty-qt512'
|
|
os: linux
|
|
language: c++
|
|
services:
|
|
- docker
|
|
|
|
- env: SUBSURFACE_PLATFORM="android"
|
|
# Currently hard coded to arm
|
|
os: linux
|
|
language: c++
|
|
filter_secrets: false
|
|
services:
|
|
- docker
|
|
# TODO: caching
|
|
# cache:
|
|
# timeout: 300
|
|
# directories:
|
|
# - 3pp
|
|
|
|
- env: SUBSURFACE_PLATFORM="qt59"
|
|
os: linux
|
|
language: c++
|
|
filter_secrets: false
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
|
|
|
script:
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
|
|
|
after_success:
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^v\d+\.\d+(\.\d+)?$/
|