Permalink
Browse files

travis: Added OS X builds for i686

  • Loading branch information...
Snaipe committed Mar 29, 2016
1 parent a090921 commit 71ae179a5682b72eb2ad80a3f59ed92c942a8393
Showing with 11 additions and 0 deletions.
  1. +5 −0 .cmake/Toolchains/Toolchain-gcc-darwin-i686.cmake
  2. +6 −0 .travis.yml
@@ -0,0 +1,5 @@
SET (CMAKE_SYSTEM_NAME Darwin)
SET (CMAKE_SYSTEM_PROCESSOR i686)

SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "C Flags")
SET (CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "ASM Flags")
@@ -29,6 +29,12 @@ matrix:
os: osx
- env: CONFIGURATION=RelWithDebInfo
os: osx
- env: CONFIGURATION=Debug ARCH=x86 TARGET=i386 TOOLCHAIN=gcc-darwin-i686
os: osx
- env: CONFIGURATION=Release ARCH=x86 TARGET=i386 TOOLCHAIN=gcc-darwin-i686
os: osx
- env: CONFIGURATION=RelWithDebInfo ARCH=x86 TARGET=i386 TOOLCHAIN=gcc-darwin-i686
os: osx

before_install:
- if [ -z "${TARGET}" ]; then export TARGET=${ARCH}; fi

0 comments on commit 71ae179

Please sign in to comment.