forked from chfast/ethash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (31 loc) · 967 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "{build}"
branches:
only:
- master
- appveyor
- hunter
configuration:
- Release
environment:
HUNTER_CACHE_TOKEN:
secure: agYfiC1OKfHnGOJQolOBorIRovVTgDW3TJ8JOb2+0XZiAnNwbrtPegxaaFM8/VWu
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: "Visual Studio 15 2017 Win64"
CONFIGURATION: Debug
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: "Visual Studio 15 2017"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "Visual Studio 14 2015 Win64"
install:
# Python 3
- set PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH%
- pip install requests
before_build: |
if not exist build mkdir build
cd build
cmake -G "%GENERATOR%" .. -DHUNTER_CONFIGURATION_TYPES=%CONFIGURATION%
build_script: |
cmake --build . --config %CONFIGURATION%
test_script: |
if %CONFIGURATION%==Release C:\projects\ethash\build\test\unittests\%CONFIGURATION%\ethash-test.exe