Browse Source

More travis tweaks

tags/1.9.6
falkTX 9 years ago
parent
commit
0d942ee6c4
9 changed files with 67 additions and 5 deletions
  1. +4
    -3
      .travis.yml
  2. +2
    -2
      .travis/linux..before_install.sh
  3. +5
    -0
      .travis/linux..script.sh
  4. +2
    -0
      .travis/linux.win32.before_install.sh
  5. +6
    -0
      .travis/linux.win32.install.sh
  6. +21
    -0
      .travis/linux.win32.script.sh
  7. +1
    -0
      .travis/linux.win64.before_install.sh
  8. +6
    -0
      .travis/linux.win64.install.sh
  9. +20
    -0
      .travis/linux.win64.script.sh

+ 4
- 3
.travis.yml View File

@@ -1,11 +1,12 @@
language: cpp language: cpp
compiler: gcc compiler: gcc
matrix:
include:
- env: TARGET_OS=win32
- env: TARGET_OS=win64
before_install: before_install:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh - sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh
install: install:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.install.sh - sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.install.sh
before_script:
- make features
script: script:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh - sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh
- make EXPERIMENTAL_PLUGINS=true -j4

+ 2
- 2
.travis/linux..before_install.sh View File

@@ -1,4 +1,4 @@
sudo add-apt-repository ppa:kxstudio-debian/kxstudio -y;
sudo apt-get update -qq;
sudo add-apt-repository ppa:kxstudio-debian/kxstudio -y
sudo apt-get update -qq
sudo apt-get install kxstudio-repos sudo apt-get install kxstudio-repos
sudo apt-get update -qq sudo apt-get update -qq

+ 5
- 0
.travis/linux..script.sh View File

@@ -0,0 +1,5 @@
export PATH=/opt/kxstudio/bin:$PATH
export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:$PKG_CONFIG_PATH

make features
make EXPERIMENTAL_PLUGINS=true -j4

+ 2
- 0
.travis/linux.win32.before_install.sh View File

@@ -0,0 +1,2 @@
sudo add-apt-repository ppa:tobydox/mingw-x-precise -y
sudo apt-get update -qq

+ 6
- 0
.travis/linux.win32.install.sh View File

@@ -0,0 +1,6 @@
sudo apt-get install -y pkg-config \
mingw32-x-gcc

# mingw32-x-gcc mingw32-x-pkgconfig
# mingw32-x-liblo mingw32-x-fftw3 mingw32-x-mxml mingw32-x-zlib
# mingw32-x-fluidsynth mingw32-x-linuxsampler

+ 21
- 0
.travis/linux.win32.script.sh View File

@@ -0,0 +1,21 @@
export PATH=/opt/mingw64/bin:/opt/mingw64/x86_64-w64-mingw32/bin:$PATH
export AR=x86_64-w64-mingw32-ar
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
export MOC=x86_64-w64-mingw32-moc
export RCC=x86_64-w64-mingw32-rcc
export UIC=x86_64-w64-mingw32-uic
export STRIP=x86_64-w64-mingw32-strip
export WINDRES=x86_64-w64-mingw32-windres

export PKGCONFIG=x86_64-w64-mingw32-pkg-config
export PKG_CONFIG_PATH=/opt/mingw64/lib/pkgconfig

export CFLAGS="-DBUILDING_CARLA_FOR_WINDOWS -DPTW32_STATIC_LIB -I/opt/mingw64/include"
export CXXFLAGS="$CFLAGS -DFLUIDSYNTH_NOT_A_DLL"

export WIN32=true
export WIN64=true

make features
make -j4

+ 1
- 0
.travis/linux.win64.before_install.sh View File

@@ -0,0 +1 @@
sh .travis/linux.win32.before_install.sh

+ 6
- 0
.travis/linux.win64.install.sh View File

@@ -0,0 +1,6 @@
sudo apt-get install -y pkg-config \
mingw64-x-gcc

# mingw64-x-gcc mingw64-x-pkgconfig
# mingw64-x-liblo mingw64-x-fftw3 mingw64-x-mxml mingw64-x-zlib
# mingw64-x-fluidsynth mingw64-x-linuxsampler

+ 20
- 0
.travis/linux.win64.script.sh View File

@@ -0,0 +1,20 @@
export PATH=/opt/mingw32/bin:/opt/mingw32/i686-w64-mingw32/bin:$PATH
export AR=i686-w64-mingw32-ar
export CC=i686-w64-mingw32-gcc
export CXX=i686-w64-mingw32-g++
export MOC=i686-w64-mingw32-moc
export RCC=i686-w64-mingw32-rcc
export UIC=i686-w64-mingw32-uic
export STRIP=i686-w64-mingw32-strip
export WINDRES=i686-w64-mingw32-windres

export PKGCONFIG=i686-w64-mingw32-pkg-config
export PKG_CONFIG_PATH=/opt/mingw32/lib/pkgconfig

export CFLAGS="-DBUILDING_CARLA_FOR_WINDOWS -DPTW32_STATIC_LIB -I/opt/mingw32/include"
export CXXFLAGS="$CFLAGS -DFLUIDSYNTH_NOT_A_DLL"

export WIN32=true

make features
make -j4

Loading…
Cancel
Save