2018-06-25 11:29:12 +00:00
|
|
|
version: "{build}"
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-08-13 15:42:26 +00:00
|
|
|
- /release\/.*/
|
2018-06-25 11:29:12 +00:00
|
|
|
- appveyor
|
|
|
|
- hunter
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
GENERATOR: "Visual Studio 15 2017 Win64"
|
|
|
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
GENERATOR: "Visual Studio 14 2015 Win64"
|
2018-06-25 12:58:25 +00:00
|
|
|
cache:
|
|
|
|
- C:\.hunter\_Base\Cache -> cmake\HunterConfig.cmake
|
2018-06-25 11:29:12 +00:00
|
|
|
|
|
|
|
before_build: |
|
|
|
|
if not exist build mkdir build
|
|
|
|
cd build
|
2018-06-25 14:55:09 +00:00
|
|
|
cmake -G "%GENERATOR%" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install
|
2018-06-25 11:29:12 +00:00
|
|
|
|
2018-06-25 14:55:09 +00:00
|
|
|
build_script: |
|
|
|
|
cmake --build . --config %CONFIGURATION% --target install
|
2018-06-25 11:29:12 +00:00
|
|
|
|
|
|
|
after_build: |
|
2018-07-05 11:01:20 +00:00
|
|
|
cd C:\projects\evmc\build\test
|
|
|
|
Release\evmc-test.exe
|
2018-06-25 14:55:09 +00:00
|
|
|
C:\install\bin\evmc-vmtester.exe C:\install\bin\evmc-examplevm.dll
|