2018-12-30 20:41:58 +00:00
|
|
|
# Travis-CI Config
|
|
|
|
#
|
|
|
|
# You may use the Deployer to upload packages and builds to external servers.
|
|
|
|
# See deployer/travis/deployer_defaults.sh for environment variables to configure.
|
|
|
|
|
2016-02-06 02:09:14 +00:00
|
|
|
language: c
|
2016-03-25 23:53:13 +00:00
|
|
|
sudo: required
|
2016-03-25 23:56:51 +00:00
|
|
|
dist: trusty
|
2016-03-25 23:16:35 +00:00
|
|
|
|
2016-05-27 22:36:16 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-12-30 20:41:58 +00:00
|
|
|
################################
|
|
|
|
# Test Buildbots
|
|
|
|
# Deployer does not operate on these. See Deployer Buildbots, below.
|
|
|
|
# These bots are disabled when a deployment is triggered by 'deployer' branch name AND DPL_TERMINATE_TESTS=1.
|
|
|
|
# These bots remain enabled when a deployment is triggered by release tag.
|
|
|
|
################################
|
2016-05-28 23:15:37 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
2016-05-30 21:16:58 +00:00
|
|
|
- gcc-4.4
|
2016-05-28 23:15:37 +00:00
|
|
|
compiler: gcc-4.4
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-29 13:40:56 +00:00
|
|
|
#gcc-4.4 (Ubuntu/Linaro 4.4.7-8ubuntu1) 4.4.7
|
2016-05-28 23:15:37 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
2016-05-30 21:16:58 +00:00
|
|
|
- gcc-4.6
|
2016-05-28 23:15:37 +00:00
|
|
|
compiler: gcc-4.6
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-29 13:40:56 +00:00
|
|
|
#gcc-4.6 (Ubuntu/Linaro 4.6.4-6ubuntu2) 4.6.4
|
2016-05-28 23:15:37 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
2016-05-30 21:16:58 +00:00
|
|
|
- gcc-4.7
|
2016-05-28 23:15:37 +00:00
|
|
|
compiler: gcc-4.7
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-28 23:15:37 +00:00
|
|
|
#gcc-4.7
|
2016-05-27 22:36:16 +00:00
|
|
|
- os: linux
|
2016-05-27 22:44:48 +00:00
|
|
|
compiler: gcc
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-28 21:16:29 +00:00
|
|
|
#gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
|
2016-05-27 22:36:16 +00:00
|
|
|
- os: linux
|
2016-05-28 02:24:02 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2016-05-28 02:46:09 +00:00
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
2016-05-30 21:16:58 +00:00
|
|
|
- gcc-4.8
|
2016-05-28 21:16:29 +00:00
|
|
|
compiler: gcc-4.8
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-28 21:16:29 +00:00
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
2016-05-29 01:31:33 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2017-09-28 13:13:01 +00:00
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-7
|
|
|
|
compiler: gcc-7
|
2018-11-27 00:39:36 +00:00
|
|
|
env: WFLAGS="-Wno-tautological-compare -Wno-error=implicit-fallthrough -Wno-implicit-fallthrough"
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2017-09-28 13:13:01 +00:00
|
|
|
#gcc-7 (Ubuntu 7.2.0-1ubuntu1~14.04) 7.2.0 20170802
|
2018-11-14 20:56:46 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-8
|
|
|
|
compiler: gcc-8
|
2018-11-27 00:39:36 +00:00
|
|
|
env: WFLAGS="-Wno-tautological-compare -Wno-error=implicit-fallthrough -Wno-implicit-fallthrough -Wno-error=format-overflow"
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2018-11-14 20:56:46 +00:00
|
|
|
#gcc-8 (Ubuntu 7.2.0-1ubuntu1~14.04) 8.1.0
|
2016-05-28 02:24:02 +00:00
|
|
|
- os: linux
|
2016-05-28 01:12:46 +00:00
|
|
|
compiler: clang
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-28 21:16:29 +00:00
|
|
|
#clang version 3.5.0 (tags/RELEASE_350/final)
|
2016-05-30 21:16:58 +00:00
|
|
|
- os: linux
|
2016-05-30 21:19:32 +00:00
|
|
|
addons:
|
2016-05-30 21:16:58 +00:00
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.5
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- clang-3.5
|
2016-05-30 21:41:23 +00:00
|
|
|
compiler: clang-3.5
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-30 21:52:30 +00:00
|
|
|
#Ubuntu clang version 3.5.0-4ubuntu2~trusty2 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- clang-3.6
|
|
|
|
compiler: clang-3.6
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-31 15:05:59 +00:00
|
|
|
#Ubuntu clang version 3.6.2-svn240577-1~exp1 (branches/release_36) (based on LLVM 3.6.2)
|
2016-05-30 21:52:30 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.7
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- clang-3.7
|
|
|
|
compiler: clang-3.7
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-31 15:05:59 +00:00
|
|
|
#Ubuntu clang version 3.7.1-svn253571-1~exp1 (branches/release_37) (based on LLVM 3.7.1)
|
2016-05-30 21:52:30 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.8
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- clang-3.8
|
|
|
|
compiler: clang-3.8
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-31 15:05:59 +00:00
|
|
|
#clang version 3.8.1-svn271127-1~exp1 (branches/release_38)
|
2017-09-29 21:43:20 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.9
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- clang-3.9
|
|
|
|
compiler: clang-3.9
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2017-09-29 21:43:20 +00:00
|
|
|
#clang version 3.9.X
|
2017-09-29 21:57:03 +00:00
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - llvm-toolchain-precise-4.0
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - clang-4.0
|
|
|
|
# compiler: clang-4.0
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2017-09-29 21:57:03 +00:00
|
|
|
# #clang version 4.0.X
|
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - llvm-toolchain-precise-5.0
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - clang-5.0
|
|
|
|
# compiler: clang-5.0
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2017-09-29 21:57:03 +00:00
|
|
|
# #clang version 5.0.X
|
2016-05-28 23:08:50 +00:00
|
|
|
# - os: osx
|
2016-08-18 23:38:21 +00:00
|
|
|
# osx_image: beta-xcode6.1
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: beta-xcode6.2
|
|
|
|
# compiler: gcc
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
|
|
|
|
## - os: osx
|
|
|
|
## osx_image: beta-xcode6.3
|
2018-12-30 20:41:58 +00:00
|
|
|
## if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
## #I think xcode.6.3 VM is broken, it does not boot
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode6.4
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode7
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 7.0.0 (clang-700.0.72)
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode7.1
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 7.0.0 (clang-700.1.76)
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode7.2
|
2018-12-30 20:41:58 +00:00
|
|
|
# if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-08-18 23:38:21 +00:00
|
|
|
# #Apple LLVM version 7.0.2 (clang-700.1.81)
|
2016-05-28 05:12:24 +00:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
2018-12-30 20:41:58 +00:00
|
|
|
if: env(DPL_ENABLED) != "1" OR env(DPL_TERMINATE_TESTS) != "1" OR NOT branch =~ /^.*deployer.*$/
|
2016-05-28 21:16:29 +00:00
|
|
|
#Apple LLVM version 7.3.0 (clang-703.0.31)
|
2018-12-30 20:41:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
################################
|
|
|
|
# Deployer Buildbots - OSX
|
|
|
|
################################
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=osx
|
|
|
|
- _DPL_FTP_TARGET=1
|
|
|
|
- _DPL_PACKAGE_BINARY=1
|
|
|
|
#Apple LLVM version 7.3.0 (clang-703.0.31)
|
|
|
|
|
|
|
|
|
|
|
|
################################
|
|
|
|
# Deployer Buildbots - Linux assets
|
|
|
|
# Set DPL_TERMINATE_ASSETS to disable all of these
|
|
|
|
# List Ubuntu LTS next, newest to oldest
|
|
|
|
# Then list non-LTS, newest to oldest
|
|
|
|
################################
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: xenial
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_ASSETS) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=bionic-asset
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- _DPL_PACKAGE_MAIN=0
|
|
|
|
- _DPL_PACKAGE_ASSET=1
|
|
|
|
- PACKAGE_DISTRO=bionic
|
|
|
|
#- PACKAGE_SUBVERSION=~18.04bionic
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
|
|
|
|
################################
|
|
|
|
# The below asset bots produce packages that occupy too much space.
|
|
|
|
# It would be nice if the asset files were not included in the source package itself,
|
|
|
|
# so these can deploy to each Ubuntu target without manual intervention.
|
|
|
|
#
|
|
|
|
# Currently, to get around Launchpad's space limitation,
|
|
|
|
# copy the packages from *one* bot and the space usage is not increased.
|
|
|
|
################################
|
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - gcc-4.8
|
|
|
|
# compiler: gcc-4.8
|
|
|
|
# dist: trusty
|
|
|
|
# if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
# AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
# AND env(DPL_TERMINATE_ASSETS) != "1"
|
|
|
|
# env:
|
|
|
|
# - _DPL_JOB_ENABLED=1
|
|
|
|
# - _DPL_JOB_NAME=trusty-asset
|
|
|
|
# - _DPL_DPUT_TARGET=1
|
|
|
|
# - _DPL_PACKAGE_SOURCE=1
|
|
|
|
# - _DPL_PACKAGE_MAIN=0
|
|
|
|
# - _DPL_PACKAGE_ASSET=1
|
|
|
|
# - PACKAGE_DISTRO=trusty
|
|
|
|
# #- PACKAGE_SUBVERSION=~14.04trusty
|
|
|
|
# #gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - gcc-4.8
|
|
|
|
# compiler: gcc-4.8
|
|
|
|
# dist: xenial
|
|
|
|
# if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
# AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
# AND env(DPL_TERMINATE_ASSETS) != "1"
|
|
|
|
# env:
|
|
|
|
# - _DPL_JOB_ENABLED=1
|
|
|
|
# - _DPL_JOB_NAME=disco-asset
|
|
|
|
# - _DPL_DPUT_TARGET=1
|
|
|
|
# - _DPL_PACKAGE_SOURCE=1
|
|
|
|
# - _DPL_PACKAGE_MAIN=0
|
|
|
|
# - _DPL_PACKAGE_ASSET=1
|
|
|
|
# - PACKAGE_DISTRO=disco
|
|
|
|
# #- PACKAGE_SUBVERSION=~19.04disco
|
|
|
|
# #gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - gcc-4.8
|
|
|
|
# compiler: gcc-4.8
|
|
|
|
# dist: xenial
|
|
|
|
# if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
# AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
# AND env(DPL_TERMINATE_ASSETS) != "1"
|
|
|
|
# env:
|
|
|
|
# - _DPL_JOB_ENABLED=1
|
|
|
|
# - _DPL_JOB_NAME=cosmic-asset
|
|
|
|
# - _DPL_DPUT_TARGET=1
|
|
|
|
# - _DPL_PACKAGE_SOURCE=1
|
|
|
|
# - _DPL_PACKAGE_MAIN=0
|
|
|
|
# - _DPL_PACKAGE_ASSET=1
|
|
|
|
# - PACKAGE_DISTRO=cosmic
|
|
|
|
# #- PACKAGE_SUBVERSION=~18.10cosmic
|
|
|
|
# #gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
# - os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - libsdl2-mixer-dev
|
|
|
|
# - libpng-dev
|
|
|
|
# - libgl1-mesa-dev
|
|
|
|
# - libgme-dev
|
|
|
|
# - p7zip-full
|
|
|
|
# - gcc-4.8
|
|
|
|
# compiler: gcc-4.8
|
|
|
|
# dist: xenial
|
|
|
|
# if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
# AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
# AND env(DPL_TERMINATE_ASSETS) != "1"
|
|
|
|
# env:
|
|
|
|
# - _DPL_JOB_ENABLED=1
|
|
|
|
# - _DPL_JOB_NAME=xenial-asset
|
|
|
|
# - _DPL_DPUT_TARGET=1
|
|
|
|
# - _DPL_PACKAGE_SOURCE=1
|
|
|
|
# - _DPL_PACKAGE_MAIN=0
|
|
|
|
# - _DPL_PACKAGE_ASSET=1
|
|
|
|
# - PACKAGE_DISTRO=xenial
|
|
|
|
# #- PACKAGE_SUBVERSION=~16.04xenial
|
|
|
|
# #gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
|
|
|
|
|
|
|
|
################################
|
|
|
|
# Deployer Buildbots - Linux binaries
|
|
|
|
# List Ubuntu LTS, newest to oldest
|
|
|
|
# Then list non-LTS, newest to oldest
|
|
|
|
################################
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: xenial
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=bionic
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- PACKAGE_DISTRO=bionic
|
|
|
|
- PACKAGE_SUBVERSION=~18.04bionic
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: trusty
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=trusty
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- PACKAGE_DISTRO=trusty
|
|
|
|
- PACKAGE_SUBVERSION=~14.04trusty
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: xenial
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=disco
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- PACKAGE_DISTRO=disco
|
|
|
|
- PACKAGE_SUBVERSION=~19.04disco
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: xenial
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=cosmic
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- PACKAGE_DISTRO=cosmic
|
|
|
|
- PACKAGE_SUBVERSION=~18.10cosmic
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libsdl2-mixer-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libgme-dev
|
|
|
|
- p7zip-full
|
|
|
|
- gcc-4.8
|
|
|
|
compiler: gcc-4.8
|
|
|
|
dist: xenial
|
|
|
|
if: env(DPL_ENABLED) = "1" AND (env(_DPL_JOB_ENABLED) = "1" OR env(DPL_JOB_ENABLE_ALL) = "1")
|
|
|
|
AND (branch =~ /^.*deployer.*$/ OR (tag IS present AND env(DPL_TAG_ENABLED) = "1"))
|
|
|
|
AND env(DPL_TERMINATE_MAIN) != "1"
|
|
|
|
env:
|
|
|
|
- _DPL_JOB_ENABLED=1
|
|
|
|
- _DPL_JOB_NAME=xenial
|
|
|
|
- _DPL_DPUT_TARGET=1
|
|
|
|
- _DPL_PACKAGE_SOURCE=1
|
|
|
|
- PACKAGE_DISTRO=xenial
|
|
|
|
- PACKAGE_SUBVERSION=~16.04xenial
|
|
|
|
#gcc-4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
|
2016-05-31 15:26:29 +00:00
|
|
|
allow_failures:
|
2016-05-31 21:56:05 +00:00
|
|
|
- compiler: clang-3.5
|
|
|
|
- compiler: clang-3.6
|
|
|
|
- compiler: clang-3.7
|
2016-05-31 15:26:29 +00:00
|
|
|
- compiler: clang-3.8
|
2017-09-29 21:43:20 +00:00
|
|
|
- compiler: clang-3.9
|
|
|
|
- compiler: clang-4.0
|
2017-09-29 21:52:12 +00:00
|
|
|
- compiler: clang-5.0
|
2018-11-19 02:25:33 +00:00
|
|
|
- compiler: gcc-8
|
2016-02-05 23:39:06 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
|
2016-02-06 04:19:38 +00:00
|
|
|
cache:
|
2016-05-28 03:06:59 +00:00
|
|
|
apt: true
|
2016-03-10 21:38:06 +00:00
|
|
|
ccache: true
|
2016-02-06 04:19:38 +00:00
|
|
|
directories:
|
2016-02-26 06:48:11 +00:00
|
|
|
- $HOME/srb2_cache
|
2016-02-06 04:19:38 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
|
2016-02-05 23:39:06 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-02-05 23:50:02 +00:00
|
|
|
- libsdl2-mixer-dev
|
2016-02-05 23:39:06 +00:00
|
|
|
- libpng-dev
|
2016-02-06 00:26:59 +00:00
|
|
|
- libgl1-mesa-dev
|
2016-02-06 02:00:46 +00:00
|
|
|
- libgme-dev
|
2018-12-30 20:41:58 +00:00
|
|
|
- zlib1g-dev
|
2016-02-06 02:15:32 +00:00
|
|
|
- p7zip-full
|
2016-02-05 23:39:06 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
# Initialize Deployer defaults
|
|
|
|
- . ./deployer/travis/deployer_defaults.sh
|
2019-01-05 14:54:45 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
# Initialize Deployer; check if Deployer is enabled
|
|
|
|
# This needs to be run in the current shell so that $__DPL_ACTIVE is set for this session
|
|
|
|
- . ./deployer/travis/deployer.sh
|
2019-01-05 14:54:45 +00:00
|
|
|
|
|
|
|
# Also check if we should now terminate -- see `deployer.sh` for conditions.
|
|
|
|
# This should never happen on non-release buildbots when Deployer is not triggered.
|
2018-12-30 20:41:58 +00:00
|
|
|
- if [[ "$__DPL_TRY_TERMINATE_EARLY" == "1" ]]; then
|
|
|
|
if [[ "$__DPL_ACTIVE" != "1" ]]; then
|
|
|
|
echo "Exiting early because this job is not deploying.";
|
|
|
|
exit;
|
|
|
|
fi;
|
|
|
|
fi
|
2019-01-05 14:54:45 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
# If we're triggered by release tag, force ASSET_FILES_OPTIONAL_GET=1
|
|
|
|
- if [[ "$__DPL_TAG_ELIGIBLE" = "1" ]]; then
|
|
|
|
ASSET_FILES_OPTIONAL_GET=1;
|
|
|
|
fi;
|
|
|
|
|
|
|
|
|
|
|
|
install:
|
2019-01-06 00:20:58 +00:00
|
|
|
# Install OS X library dependencies via Homebrew
|
|
|
|
# `brew install --build-bottle` builds libraries for x86_64's lowest common denominator CPU, core2
|
|
|
|
# `sdl2_mixer` requires options from the formula tap https://github.com/mazmazz/homebrew-srb2
|
|
|
|
# `brew postinstall` runs post-install scripts after building a bottle
|
2018-12-30 20:41:58 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
brew update;
|
2019-01-06 00:20:58 +00:00
|
|
|
brew tap mazmazz/srb2;
|
|
|
|
fi;
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
brew install --build-bottle sdl2 game-music-emu zlib p7zip;
|
|
|
|
brew install --build-bottle mazmazz/srb2/sdl2_mixer --with-flac --with-mpg123;
|
|
|
|
brew postinstall sdl2 game-music-emu zlib p7zip mazmazz/srb2/sdl2_mixer;
|
2018-12-30 20:41:58 +00:00
|
|
|
brew install cmake||true;
|
|
|
|
fi
|
|
|
|
- mkdir -p $HOME/srb2_cache
|
|
|
|
|
|
|
|
|
2016-02-05 23:39:06 +00:00
|
|
|
before_script:
|
2018-12-30 20:41:58 +00:00
|
|
|
# OLDPWD is root repo folder
|
|
|
|
- OLDPWD=$PWD
|
2019-01-02 23:19:44 +00:00
|
|
|
- __ASSET_DIRECTORY="$OLDPWD/assets/installer"
|
|
|
|
- mkdir -p "$__ASSET_DIRECTORY"
|
2018-12-30 20:41:58 +00:00
|
|
|
- cd "$HOME/srb2_cache"
|
|
|
|
|
2018-12-31 22:09:59 +00:00
|
|
|
# Get stat command so we know what the cached archive date is.
|
2018-12-30 20:41:58 +00:00
|
|
|
# stat is different for OSX
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
STATCMD="stat -f %m";
|
|
|
|
else
|
|
|
|
STATCMD="stat -c %y";
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Get asset files (required for MD5)
|
2019-01-05 14:54:45 +00:00
|
|
|
# See `deployer_defaults.sh` for asset download path
|
2018-12-30 20:41:58 +00:00
|
|
|
- if [[ "$ASSET_ARCHIVE_PATH" != "" ]]; then
|
|
|
|
if [ -f "$(basename $ASSET_ARCHIVE_PATH)" ]; then
|
|
|
|
echo "$(basename $ASSET_ARCHIVE_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_PATH))";
|
|
|
|
fi;
|
|
|
|
wget --verbose --server-response -N "$ASSET_ARCHIVE_PATH";
|
2019-01-02 23:19:44 +00:00
|
|
|
7z x "$(basename $ASSET_ARCHIVE_PATH)" -o"$__ASSET_DIRECTORY" -aos;
|
2018-12-30 20:41:58 +00:00
|
|
|
fi;
|
|
|
|
|
|
|
|
# Get optional files too
|
2019-01-03 01:48:00 +00:00
|
|
|
- if [[ "$__DPL_ACTIVE" == "1" ]] && [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
|
2018-12-31 22:09:59 +00:00
|
|
|
if [ -f "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" ]; then
|
|
|
|
echo "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_OPTIONAL_PATH))";
|
|
|
|
fi;
|
|
|
|
wget --verbose --server-response -N "$ASSET_ARCHIVE_OPTIONAL_PATH";
|
2019-01-02 23:19:44 +00:00
|
|
|
7z x "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" -o"$__ASSET_DIRECTORY" -aos;
|
2018-12-30 20:41:58 +00:00
|
|
|
fi;
|
|
|
|
|
2019-01-02 23:19:44 +00:00
|
|
|
# Go back to root repo folder
|
2018-12-30 20:41:58 +00:00
|
|
|
- cd "$OLDPWD"
|
|
|
|
|
|
|
|
# Prepare CMake asset lists
|
2018-12-31 22:09:59 +00:00
|
|
|
- SRB2_ASSET_HASHED=$(echo ${ASSET_FILES_HASHED// /\;})
|
2018-12-30 20:41:58 +00:00
|
|
|
- SRB2_ASSET_DOCS=$(echo ${ASSET_FILES_DOCS// /\;})
|
2019-01-02 23:19:44 +00:00
|
|
|
- SRB2_ASSET_DIRECTORY="$__ASSET_DIRECTORY"
|
2018-12-30 20:41:58 +00:00
|
|
|
|
|
|
|
# Prepare CMake
|
2016-02-05 23:39:06 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2018-12-30 20:41:58 +00:00
|
|
|
- mkdir package
|
2019-01-02 22:33:57 +00:00
|
|
|
- export CFLAGS="-Wall -W -Werror $WFLAGS"
|
2016-06-01 18:32:03 +00:00
|
|
|
- export CCACHE_COMPRESS=true
|
2018-12-30 20:41:58 +00:00
|
|
|
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/bin -DCPACK_PACKAGE_DIRECTORY=$PWD/package
|
2018-12-31 22:09:59 +00:00
|
|
|
-DSRB2_ASSET_HASHED="${SRB2_ASSET_HASHED}" -DSRB2_ASSET_DOCS="${SRB2_ASSET_DOCS}"
|
|
|
|
-DSRB2_ASSET_DIRECTORY="${SRB2_ASSET_DIRECTORY}"
|
2018-12-30 20:41:58 +00:00
|
|
|
-DCPACK_PACKAGE_DESCRIPTION_SUMMARY="${PROGRAM_NAME}"
|
|
|
|
-DCPACK_PACKAGE_VENDOR="${PROGRAM_VENDOR}"
|
|
|
|
-DSRB2_SDL2_EXE_NAME="${PROGRAM_FILENAME}"
|
2016-02-06 01:50:35 +00:00
|
|
|
|
2016-03-25 23:48:39 +00:00
|
|
|
|
2018-12-30 20:41:58 +00:00
|
|
|
script:
|
|
|
|
# Build our Makefile from Cmake!
|
|
|
|
- if [[ "$__DPL_ACTIVE" == "1" ]]; then
|
|
|
|
. ../deployer/travis/deployer_build.sh;
|
|
|
|
else
|
|
|
|
make -k;
|
|
|
|
fi;
|
|
|
|
|
|
|
|
after_success:
|
2019-01-05 15:17:33 +00:00
|
|
|
# Run the upload scripts
|
|
|
|
# These do nothing if Deployer is not triggered
|
2018-12-30 20:41:58 +00:00
|
|
|
- . ../deployer/travis/deployer_ftp.sh
|
|
|
|
- . ../deployer/travis/deployer_dput.sh
|