mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
47 lines
928 B
YAML
47 lines
928 B
YAML
image:
|
|
- Visual Studio 2017
|
|
|
|
clone_depth: 1
|
|
shallow_clone: false
|
|
|
|
cache:
|
|
- C:\Users\appveyor\.conan -> conanfile.py
|
|
- C:\.conan -> conanfile.py
|
|
|
|
environment:
|
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
|
PYTHON: "C:\\Python36-x64"
|
|
CMAKE_GENERATOR_BASE: "Visual Studio 15 2017"
|
|
NAME_SUFFIX: "windows"
|
|
USE_CONAN: 1
|
|
|
|
platform:
|
|
# - Win32
|
|
- x64
|
|
|
|
configuration:
|
|
# - Debug
|
|
- Release
|
|
|
|
matrix:
|
|
fast_finish: false
|
|
|
|
clone_folder: C:\projects\openrw
|
|
|
|
init:
|
|
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
|
|
- python --version
|
|
- cmake --version
|
|
- msbuild /version
|
|
- pip3 install conan
|
|
- conan user
|
|
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
|
|
|
build_script:
|
|
- ctest -VV -S "%APPVEYOR_BUILD_FOLDER%/cmake/ctest/script_ci.ctest"
|
|
|
|
after_build:
|
|
- cd "%APPVEYOR_BUILD_FOLDER%\build"
|
|
- cpack -C Release -G TXZ
|
|
- appveyor PushArtifact OpenRW-%APPVEYOR_REPO_COMMIT:~0,8%.tar.xz
|