Update appveyor.yml

This commit is contained in:
Nomango 2020-01-28 13:17:24 +08:00
parent 227bdb4ed1
commit 2130c2e8d8
1 changed files with 10 additions and 11 deletions

View File

@ -19,7 +19,6 @@ pull_requests:
environment: environment:
global: global:
time_out_mins: 5 time_out_mins: 5
job_to_deploy: 6 # 3(images) * 1(platform) * 2(configuration)
flag_to_deploy: false flag_to_deploy: false
appveyor_api_token: appveyor_api_token:
secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E= secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E=
@ -46,13 +45,12 @@ for:
only: only:
- master - master
environment: environment:
matrix: matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_PLATFORM_TOOLSET: v142
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_PLATFORM_TOOLSET: v141
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VS_PLATFORM_TOOLSET: v140 global:
job_to_deploy: 6 # 3(images) * 1(platform) * 2(configuration)
- -
branches: branches:
except: except:
@ -62,7 +60,8 @@ for:
environment: environment:
matrix: matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_PLATFORM_TOOLSET: v142 global:
job_to_deploy: 2 # 1(images) * 1(platform) * 2(configuration)
configuration: configuration:
- Debug - Debug
@ -90,9 +89,9 @@ after_build:
artifacts: artifacts:
- path: projects/output/**/*.lib - path: projects/output/**/*.lib
name: $(appveyor_project_name)-v$(appveyor_build_version)-$(VS_PLATFORM_TOOLSET).$(platform).$(configuration) name: PublishedLibraries
- path: projects/output/**/*.pdb - path: projects/output/**/*.pdb
name: $(appveyor_project_name)-v$(appveyor_build_version)-$(VS_PLATFORM_TOOLSET).$(platform).$(configuration) name: PublishedSymbols
before_deploy: before_deploy:
- ps: .\scripts\appveyor\coapp_make.ps1 - ps: .\scripts\appveyor\coapp_make.ps1
@ -100,9 +99,9 @@ before_deploy:
deploy: deploy:
- provider: GitHub - provider: GitHub
repository: KiwanoEngine/Kiwano repository: KiwanoEngine/Kiwano
tag: v$(appveyor_build_version) tag: v$(APPVEYOR_BUILD_VERSION)
release: v$(appveyor_build_version) release: v$(APPVEYOR_BUILD_VERSION)
description: Kiwano-v$(appveyor_build_version) releases. description: Kiwano-v$(APPVEYOR_BUILD_VERSION) releases.
auth_token: auth_token:
secure: pDsK6i03d4qRjtrNXcbhLpAquso/muJWgDSWJHnxP7b6p54kXEvptB67J+1kJOhq secure: pDsK6i03d4qRjtrNXcbhLpAquso/muJWgDSWJHnxP7b6p54kXEvptB67J+1kJOhq
artifact: /.*\.nupkg/ artifact: /.*\.nupkg/