forked from UrsineRaven/NppMarkdownPanel
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
48 lines (38 loc) · 1.38 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
version: 1.0.{build}
image: Visual Studio 2017
environment:
matrix:
#- PlatformToolset: v140
- PlatformToolset: v141
platform:
- x86
- x64
configuration:
- Release
- Debug
build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- msbuild NppMarkdownPanel.sln /m /verbosity:minimal /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# after_build:
# - cd "%APPVEYOR_BUILD_FOLDER%"
# - ps: >-
# Push-AppveyorArtifact "NppMarkdownPanel\bin\$env:CONFIGURATION\NppMarkdownPanel.dll" -FileName NppMarkdownPanel.dll
# if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v141") {
# $ZipFileName = "NppMarkdownPanel_$($env:APPVEYOR_REPO_TAG_NAME).zip"
# 7z a $ZipFileName NppMarkdownPanel\bin\$env:CONFIGURATION\NppMarkdownPanel.dll
# }
# artifacts:
# - path: NppMarkdownPanel_*.zip
# name: releases
# deploy:
# provider: GitHub
# auth_token:
# secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
# artifact: releases
# draft: false
# prerelease: false
# force_update: true
# on:
# appveyor_repo_tag: true
# PlatformToolset: v141
# configuration: Release