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 language: cpp


os: linux

dist: bionic

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


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


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


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


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

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


set -e set -e


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


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


fi fi


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

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

Loading…
Cancel
Save