git.s-ol.nu ~forks/DiligentTools / 34ae14f
appveyor script: using install.bat Egor Yusov 2 years ago
1 changed file(s) with 2 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2323 # clone submodules
2424 - git submodule update --init --recursive
2525 - git clone https://github.com/DiligentGraphics/DiligentCore.git ../DiligentCore --recursive
26
27 # Install a recent CMake
28 - set CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-win64-x64.zip"
29 - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
30 - 7z x cmake.zip -oC:\projects\deps > nul
31 - move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory
32 - set PATH=C:\projects\deps\cmake\bin;C:\Python37;%PATH%
33 - cmake --version
34 - python --version
26 - ..\DiligentCore\BuildTools\Scripts\appveyor\install.bat
3527
3628 before_build:
3729 - cd c:\projects\DiligentTools\BuildTools\FormatValidation
4133 - echo Project(DiligentTools_Test) >> CMakeLists.txt
4234 - echo add_subdirectory(DiligentCore) >> CMakeLists.txt
4335 - echo add_subdirectory(DiligentTools) >> CMakeLists.txt
44 - cmake -S . -B ./build -G "Visual Studio 15 2017" -A x64
36 - cmake -S . -B ./build -G "Visual Studio 15 2017" -A %PLATFORM%
4537
4638 build:
4739 project: c:\projects\build\DiligentTools_Test.sln