Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thielj authored Feb 21, 2018
1 parent 0ae3c53 commit b0943f9
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ skip_tags: true

platform:
- x64
- x86

configuration:
- Release
- Debug

matrix:
fast_finish: true
fast_finish: false

clone_folder: C:\projects\openhantek

Expand All @@ -32,11 +34,14 @@ shallow_clone: true

before_build:
- if [%PLATFORM%] == [x64] set QT5=C:\Qt\5.8\msvc2015_64
- if [%PLATFORM%] == [x64] set VSARCH=x86
- if [%PLATFORM%] == [x64] set VSARCH=x64
- if [%PLATFORM%] == [x64] set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64"
- if [%PLATFORM%] == [Win32] set QT5=C:\Qt\5.8\msvc2015
- if [%PLATFORM%] == [Win32] set VSARCH=x64
- if [%PLATFORM%] == [Win32] set VSARCH=x86
- if [%PLATFORM%] == [Win32] set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015"
- if [%PLATFORM%] == [x86] set QT5=C:\Qt\5.8\msvc2015
- if [%PLATFORM%] == [x86] set VSARCH=x86
- if [%PLATFORM%] == [x86] set "CMAKE_GENERATOR_NAME=Visual Studio 14 2015"
- set Path=%QT5%\bin;%Path%
- md build
- cd build
Expand All @@ -46,12 +51,12 @@ before_build:
build:

build_script:
- cmake --build . --config Release --target package
- cmake --build . --config %configuration% --target package

artifacts:

- path: build\openhantek\$(configuration)
name: OpenHantek_jt-$(platform)-b$(APPVEYOR_BUILD_NUMBER)
name: OpenHantek_jt-$(platform)-$(configuration)-b$(APPVEYOR_BUILD_NUMBER)
type: zip

- path: build\packages\*.exe
Expand All @@ -60,8 +65,8 @@ artifacts:
# User "ci-openhantek". Uses a appveyor encrypted github access token for that user.
deploy:
- provider: GitHub
artifact: OpenHantek_jt-$(platform)-b$(APPVEYOR_BUILD_NUMBER)
release: OpenHantek_jt-$(platform)-b$(APPVEYOR_BUILD_NUMBER)
artifact: OpenHantek_jt-$(platform)-$(configuration)-b$(APPVEYOR_BUILD_NUMBER)
release: OpenHantek_jt-b$(APPVEYOR_BUILD_NUMBER)
description: 'OpenHantek Windows Build (ZIP)'
draft: false
prerelease: false
Expand Down

0 comments on commit b0943f9

Please sign in to comment.