File tree 1 file changed +20
-17
lines changed
1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change 1
1
version : " {build}"
2
+ image : Visual Studio 2017
3
+
2
4
branches :
3
5
only :
4
6
- master
@@ -10,28 +12,29 @@ environment:
10
12
HUNTER_CACHE_TOKEN :
11
13
secure : agYfiC1OKfHnGOJQolOBorIRovVTgDW3TJ8JOb2+0XZiAnNwbrtPegxaaFM8/VWu
12
14
matrix :
13
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
14
- GENERATOR : " Visual Studio 15 2017 Win64"
15
+ - ARCH : amd64
15
16
CONFIGURATION : Debug
16
-
17
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
18
- GENERATOR : " Visual Studio 15 2017"
19
-
20
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
21
- GENERATOR : " Visual Studio 14 2015 Win64"
17
+ - ARCH : x86
18
+ - ARCH : amd64
22
19
23
20
install :
24
21
# Python 3
25
- - set PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH%
22
+ - set PATH_ORIG=%PATH%
23
+ - set PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH_ORIG%
26
24
- pip install requests
27
25
28
- before_build : |
29
- if not exist build mkdir build
30
- cd build
31
- cmake -G "%GENERATOR%" .. -DHUNTER_CONFIGURATION_TYPES=%CONFIGURATION%
26
+ before_build :
27
+ - call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=%ARCH%
28
+ - if not exist build mkdir build
29
+ - cd build
30
+ - cmake -GNinja .. -DCMAKE_INSTALL_PREFIX=../dist -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DHUNTER_CONFIGURATION_TYPES=%CONFIGURATION%
31
+
32
+ build_script :
33
+ - cmake --build . --target install
32
34
33
- build_script : |
34
- cmake --build . --config %CONFIGURATION%
35
+ test_script :
36
+ - if %CONFIGURATION%==Release C:\projects\ethash\build\test\ethash-test.exe
35
37
36
- test_script : |
37
- if %CONFIGURATION%==Release C:\projects\ethash\build\test\%CONFIGURATION%\ethash-test.exe
38
+ artifacts :
39
+ - path : dist
40
+ name : dist
You can’t perform that action at this time.
0 commit comments