diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-26 17:05:12 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-26 17:05:12 +0000 |
| commit | 992bb51ffdc16d02e6f1259a68e66968292d8afb (patch) | |
| tree | 3db17a78d2c8b8d097672b02c5ddb0feaaad1dd5 | |
| parent | Added travis script (diff) | |
| download | DiligentTools-992bb51ffdc16d02e6f1259a68e66968292d8afb.tar.gz DiligentTools-992bb51ffdc16d02e6f1259a68e66968292d8afb.zip | |
Update travis script
| -rw-r--r-- | .travis.yml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index a1deaf5..1877c7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ env: - CMAKE_VERSION=3.15.4 before_install: + - git clone https://github.com/DiligentGraphics/DiligentCore.git ../DiligentCore --recursive - | if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Darwin-x86_64.tar.gz @@ -77,13 +78,18 @@ matrix: - CONFIG=Release - IOS=true - VULKAN_SDK_VER="1.1.101.0" - - os: osx script: # Run cmake - - mkdir cmk_build - - cd cmk_build + - cd .. + - | + cat cmake_minimum_required(VERSION 3.6) > CMakeLists.txt + cat Project(DiligentTools_Test) >> CMakeLists.txt + cat add_subdirectory(DiligentCore) >> CMakeLists.txt + cat add_subdirectory(DiligentTools) >> CMakeLists.txt + - mkdir build + - cd build - | if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${CONFIG} -DCMAKE_INSTALL_PREFIX=install |
