Browse Source

Rework CI file

tags/v1.0
falkTX 4 years ago
parent
commit
ddd296ae58
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 14 additions and 11 deletions
  1. +13
    -7
      .travis.yml
  2. +1
    -4
      .travis/install.sh

+ 13
- 7
.travis.yml View File

@@ -1,13 +1,9 @@
language: cpp

os: linux

dist: bionic

cache:
directories:
- ${HOME}/PawPawBuilds/debs
- ${HOME}/PawPawBuilds/downloads
- ${HOME}/PawPawBuilds/debs
- ${HOME}/PawPawBuilds/downloads

env:
- PLUGINS_BASE="abgate artyfx caps dpf-plugins fomp mda"
@@ -19,6 +15,7 @@ jobs:
# linux native build
- os: linux
compiler: gcc
dist: bionic
env:
- TARGET="linux"
- PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
@@ -26,6 +23,7 @@ jobs:
# linux with macOS cross-compilation
- os: linux
compiler: gcc
dist: bionic
env:
- TARGET="macos-old"
- PLUGINS="${PLUGINS_BASE}"
@@ -33,6 +31,7 @@ jobs:
# linux with win32 cross-compilation
- os: linux
compiler: gcc
dist: bionic
env:
- TARGET="win32"
- PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO}"
@@ -42,6 +41,7 @@ jobs:
# linux with win64 cross-compilation
- os: linux
compiler: gcc
dist: bionic
env:
- TARGET="win64"
- PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO}"
@@ -50,10 +50,16 @@ jobs:

# macOS native build
- os: osx
compiler: gcc
addons:
homebrew:
packages:
- cmake
- jq
- meson
env:
- TARGET="macos"
- PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO}"
osx_image: xcode9.4

before_install:
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh


+ 1
- 4
.travis/install.sh View File

@@ -2,9 +2,8 @@

set -e

# Special macOS native handling
# nothing to do for macOS native
if [ "${TARGET}" = "macos" ]; then
brew install cmake jq meson || true
exit 0
fi

@@ -45,7 +44,5 @@ elif [ "${TARGET}" = "win64" ]; then

fi

# echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register

# Special handling for caching deb archives
sudo mv /var/cache/apt/archives/*.deb ${HOME}/PawPawBuilds/debs/

Loading…
Cancel
Save