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
matrix:
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:
- mkdir build_windows
- cd build_windows
- cmake .. && cmake --build . -- -m
- os: osx
osx_image: xcode9.4
- mkdir build_windows_32
- cd build_windows_32
- cmake .. -G"Visual Studio 15 2017" && cmake --build . -- -m
- name: "Windows 64bit"
os: windows
script:
- mkdir build_macOS
- cd build_macOS
- cmake .. && cmake --build . -- -j2
- os: linux
- mkdir build_windows_64
- cd build_windows_64
- cmake .. -G"Visual Studio 15 2017" -Ax64 && cmake --build . -- -m
- 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
compiler: gcc
script:
- mkdir build_linux
- cd build_linux
- cmake -DWS=NullWS .. && cmake --build . -- -j2
- os: linux
- mkdir build_linux_gcc_64
- cd build_linux_gcc_64
- cmake -DWS=NullWS -DCMAKE_TOOLCHAIN_FILE="../cmake/toolchains/Linux-gcc-x86_64.cmake" .. && cmake --build . -- -j2
- name: "Linux(Xenial) - clang"
os: linux
dist: xenial
compiler: clang
script:
- mkdir build_linux
- cd build_linux
- mkdir build_linux_clang_64
- cd build_linux_clang_64
- 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:
only:
- 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