Skip to content

Commit

Permalink
travis: Added OS X builds for i686
Browse files Browse the repository at this point in the history
  • Loading branch information
Snaipe committed Mar 29, 2016
1 parent a090921 commit 71ae179
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cmake/Toolchains/Toolchain-gcc-darwin-i686.cmake
@@ -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")
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -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
Expand Down

0 comments on commit 71ae179

Please sign in to comment.