diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-26 15:54:47 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-26 15:54:47 +0000 |
| commit | 83af1e71d4f8a2c55c3b1812ea8f23b39dda9695 (patch) | |
| tree | 8647df78db7e175eaf44884932a50251ac6b308b | |
| parent | CMake: replaced format validation instructions with add_format_validation_target (diff) | |
| download | DiligentTools-83af1e71d4f8a2c55c3b1812ea8f23b39dda9695.tar.gz DiligentTools-83af1e71d4f8a2c55c3b1812ea8f23b39dda9695.zip | |
Added appveyor script
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | appveyor.yml | 49 |
2 files changed, 53 insertions, 0 deletions
@@ -1,5 +1,9 @@ # DiligentTools <img src="https://github.com/DiligentGraphics/DiligentCore/blob/master/media/diligentgraphics-logo.png" height=64 align="right" valign="middle"> +[](License.txt) +[](https://gitter.im/diligent-engine) +[](https://ci.appveyor.com/project/DiligentGraphics/diligenttools) + This module implements additional functionality on top of the [Diligent Engine](https://github.com/DiligentGraphics/DiligentEngine)'s core module and contains the following libraries: diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..a110c5b --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,49 @@ +version: '2.4.{build}' + +# branches to build +branches: + # whitelist + only: + - master + +image: +- Visual Studio 2017 + +environment: + matrix: + - platform: x64 + configuration: Debug + + - platform: x64 + configuration: Release + +# clone directory +clone_folder: c:\projects\DiligentTools + +install: + # clone submodules + - git clone https://github.com/DiligentGraphics/DiligentCore.git ../DiligentCore --recursive + + # Install a recent CMake + - set CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-win64-x64.zip" + - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip + - 7z x cmake.zip -oC:\projects\deps > nul + - move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory + - set PATH=C:\projects\deps\cmake\bin;C:\Python37;%PATH% + - cmake --version + - python --version + +before_build: + - cd c:\projects\DiligentTools\BuildTools\FormatValidation + - validate_format_win.bat + - cd c:\projects + - echo cmake_minimum_required(VERSION 3.6) > CMakeLists.txt + - echo Project(DiligentTools_Test) >> CMakeLists.txt + - echo add_subdirectory(DiligentCore) >> CMakeLists.txt + - echo add_subdirectory(DiligentTools) >> CMakeLists.txt + - cmake -S . -B ./build -G "Visual Studio 15 2017" -A x64 + +build: + project: c:\projects\build\DiligentTools_Test.sln + verbosity: minimal + parallel: true |
