Commit 20733765 by omarzohdi

Added more builds to the travis config file

- Added builds for Windows 64/32 bit. - Added builds for gcc Linux 64/32 bit. - Added builds for Android. - Added Names for builds.
parent d6b531a5
...@@ -2,31 +2,74 @@ language: cpp ...@@ -2,31 +2,74 @@ language: cpp
matrix: matrix:
include: include:
- os: windows - name: "Android"
os: linux
dist: trusty
language: android
android:
components:
- tools
- platform-tools
- tools
- build-tools-27.0.3
- android-26
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'android-ndk-license-.+'
before_install:
- echo y | sdkmanager "ndk-bundle"
before_script:
- cd build-android
- chmod +x gradlew
script: ./gradlew -PANDROID_ABI=arm64-v8a -PNOSIGN assembleRelease --stacktrace
- name: "Windows 32bit"
os: windows
script: script:
- mkdir build_windows - mkdir build_windows_32
- cd build_windows - cd build_windows_32
- cmake .. && cmake --build . -- -m - cmake .. -G"Visual Studio 15 2017" && cmake --build . -- -m
- os: osx - name: "Windows 64bit"
osx_image: xcode9.4 os: windows
script: script:
- mkdir build_macOS - mkdir build_windows_64
- cd build_macOS - cd build_windows_64
- cmake .. && cmake --build . -- -j2 - cmake .. -G"Visual Studio 15 2017" -Ax64 && cmake --build . -- -m
- os: linux - name: "Linux(Xenial) 32bit - gcc"
os: linux
dist: xenial
compiler: gcc
before_install:
- sudo dpkg --add-architecture i386
- sudo apt-get update -y
- sudo apt-get install -y gcc-5-multilib g++-5-multilib linux-libc-dev:i386
script:
- mkdir build_linux_gcc_32
- cd build_linux_gcc_32
- cmake -DWS=NullWS -DCMAKE_TOOLCHAIN_FILE="../cmake/toolchains/Linux-gcc-x86_32.cmake" .. && cmake --build . -- -j2
- name: "Linux(Xenial) 64bit - gcc"
os: linux
dist: xenial dist: xenial
compiler: gcc compiler: gcc
script: script:
- mkdir build_linux - mkdir build_linux_gcc_64
- cd build_linux - cd build_linux_gcc_64
- cmake -DWS=NullWS .. && cmake --build . -- -j2 - cmake -DWS=NullWS -DCMAKE_TOOLCHAIN_FILE="../cmake/toolchains/Linux-gcc-x86_64.cmake" .. && cmake --build . -- -j2
- os: linux - name: "Linux(Xenial) - clang"
os: linux
dist: xenial dist: xenial
compiler: clang compiler: clang
script: script:
- mkdir build_linux - mkdir build_linux_clang_64
- cd build_linux - cd build_linux_clang_64
- cmake -DWS=NullWS .. && cmake --build . -- -j2 - cmake -DWS=NullWS .. && cmake --build . -- -j2
- name: "macOS"
os: osx
osx_image: xcode9.4
script:
- mkdir build_macOS
- cd build_macOS
- cmake .. && cmake --build . -- -j2
branches: branches:
only: only:
- master - master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment