@@ -7,47 +7,24 @@ configuration:
77matrix :
88 fast_finish : true
99
10- clone_folder : C:\projects\openhantek
11-
12- install :
13- # - cinst cmake
14-
1510image :
1611 - Visual Studio 2015
1712
1813shallow_clone : true
1914
2015before_build :
21- - if [%PLATFORM%] == [x64] set QT5=C:\Qt\5.8\msvc2015_64
22- - if [%PLATFORM%] == [x64] set VSARCH=x86
23- - if [%PLATFORM%] == [x64] set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64"
24- - if [%PLATFORM%] == [Win32] set QT5=C:\Qt\5.8\msvc2015
25- - if [%PLATFORM%] == [Win32] set VSARCH=x64
26- - if [%PLATFORM%] == [Win32] set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015"
16+ - set QT5=C:\Qt\5.11\msvc2015_64
17+ - set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64"
2718 - set Path=%QT5%\bin;%Path%
2819 - md build
2920 - cd build
30- - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %VSARCH %
21+ - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform %
3122 - cmake.exe -G "%CMAKE_GENERATOR_NAME%" "-DCMAKE_PREFIX_PATH=%QT5%" -DCMAKE_BUILD_TYPE=%configuration% ..
32-
33- build :
3423
3524build_script :
36- - cmake --build . --config Release --target package
37-
38- # User "ci-openhantek". Uses a appveyor encrypted github access token for that user.
39- deploy :
40- - provider : GitHub
41- artifact : /packages\\*\.exe/
42- draft : false
43- prerelease : false
44- force_update : true
45- auth_token :
46- secure : KD4fRkMn+nap8Uw/8SDyAgqYREMPYkF+AOdl6e130Ha95lEAyCyLsKuIfFWsLy4c
47- on :
48- branch : master # release from master branch only
49- appveyor_repo_tag : true # deploy on tag push only
25+ - cmake --build . --config %configuration% --target package
5026
51- notifications :
52- - provider : Email
53- on_build_status_changed : true
27+ artifacts :
28+ - path : build\openhantek\$(configuration)
29+ name : OpenHantek-$(platform)-$(configuration)-b$(APPVEYOR_BUILD_NUMBER)
30+ type : zip
0 commit comments