Skip to content

Commit

Permalink
AppVeyor deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
pnedev committed Dec 14, 2016
1 parent 840130f commit df352cf
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: Build {Build}
image: Visual Studio 2015

clone_depth: 1

environment:
matrix:
- PlatformToolset: v140_xp
Expand Down Expand Up @@ -31,7 +29,7 @@ install:
mingw32-make --version
}
build:
parallel: true # enable MSBuild parallel builds
parallel: true
verbosity: minimal

before_build:
Expand All @@ -44,20 +42,20 @@ before_build:
"v120_xp" {"Visual Studio 12 2013"}
"mingw-w64" {"MinGW Makefiles"}
}
#not applicable with MinGW Makefiles generator
# not applicable with MinGW Makefiles generator
if ($env:PLATFORM -eq "x64" -and $env:PLATFORMTOOLSET -notmatch "mingw-w64")
{
$generator = "$generator Win64"
}
#cmake build type, depended on the used generator, see https://cmake.org/cmake/help/v3.6/variable/CMAKE_BUILD_TYPE.html#variable:CMAKE_BUILD_TYPE
# cmake build type, depended on the used generator, see https://cmake.org/cmake/help/v3.6/variable/CMAKE_BUILD_TYPE.html#variable:CMAKE_BUILD_TYPE
if ($env:PLATFORMTOOLSET -match "mingw-w64")
{
$build_type = "-DCMAKE_BUILD_TYPE=$env:CONFIGURATION"
$build_config = ""
}
else
{
#seems vs build always needs also the debug config, choose via the config option to the build command
# seems vs build always needs also the debug config, choose via the config option to the build command
$build_type = "-DCMAKE_CONFIGURATION_TYPES=""Debug;Release"" "
$build_config = "--config $env:CONFIGURATION"
}
Expand Down Expand Up @@ -108,12 +106,12 @@ deploy:
provider: GitHub
description: ''
auth_token:
secure: b9E1qivB5Vn1wX4kAT+TFE7JdNjx1CWznNFc1nylaBZxFguRRpe2WV908G8XRfw4 # your encrypted token from GitHub
artifact: NppGTags_*.zip # upload all zip packages to release assets
secure: b9E1qivB5Vn1wX4kAT+TFE7JdNjx1CWznNFc1nylaBZxFguRRpe2WV908G8XRfw4
artifact: releases
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true # deploy on tag push only
appveyor_repo_tag: true
PlatformToolset: v120_xp
configuration: Release

0 comments on commit df352cf

Please sign in to comment.