| 
									
										
										
										
											2019-08-05 13:24:27 +08:00
										 |  |  | version: 0.9.{build}
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 14:38:26 +08:00
										 |  |  | skip_tags: true
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-14 22:09:22 +08:00
										 |  |  | # fetch repository as zip archive
 | 
					
						
							|  |  |  | shallow_clone: true
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-16 10:12:34 +08:00
										 |  |  | pull_requests:
 | 
					
						
							|  |  |  |   do_not_increment_build_number: true
 | 
					
						
							| 
									
										
										
										
											2019-08-08 16:32:41 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-14 22:09:22 +08:00
										 |  |  | # Do not build feature branch with open Pull Requests
 | 
					
						
							|  |  |  | # skip_branch_with_pr: true
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  | # image:
 | 
					
						
							|  |  |  | # - Visual Studio 2019
 | 
					
						
							|  |  |  | # - Visual Studio 2017
 | 
					
						
							|  |  |  | # - Visual Studio 2015
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | environment:
 | 
					
						
							| 
									
										
										
										
											2019-08-14 22:09:22 +08:00
										 |  |  |   global:
 | 
					
						
							|  |  |  |     time_out_mins: 5
 | 
					
						
							|  |  |  |     job_to_deploy: 6 # 3(images) * 1(platform) * 2(configuration)
 | 
					
						
							|  |  |  |     flag_to_deploy: false
 | 
					
						
							|  |  |  |     appveyor_api_token:
 | 
					
						
							|  |  |  |       secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E=
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |   matrix:
 | 
					
						
							|  |  |  |     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
 | 
					
						
							|  |  |  |       VS_PLATFORM_TOOLSET: v142
 | 
					
						
							|  |  |  |     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
 | 
					
						
							|  |  |  |       VS_PLATFORM_TOOLSET: v141
 | 
					
						
							|  |  |  |     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
 | 
					
						
							|  |  |  |       VS_PLATFORM_TOOLSET: v140
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:32:00 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-14 22:09:22 +08:00
										 |  |  | matrix:
 | 
					
						
							|  |  |  |   fast_finish: true # set this flag to immediately finish build once one of the jobs fails
 | 
					
						
							|  |  |  |   # allow_failures:
 | 
					
						
							|  |  |  |   #   - platform: x86
 | 
					
						
							|  |  |  |   #     configuration: Debug
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 14:38:26 +08:00
										 |  |  | skip_commits:
 | 
					
						
							|  |  |  |   message: /\[chore\]/
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 14:38:26 +08:00
										 |  |  | only_commits:
 | 
					
						
							|  |  |  |   files:
 | 
					
						
							| 
									
										
										
										
											2019-08-08 17:26:43 +08:00
										 |  |  |     - projects/
 | 
					
						
							|  |  |  |     - src/
 | 
					
						
							|  |  |  |     - scripts/**/*.ps1
 | 
					
						
							|  |  |  |     - appveyor.yml
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-15 11:22:51 +08:00
										 |  |  | for:
 | 
					
						
							|  |  |  | -
 | 
					
						
							|  |  |  |   branches:
 | 
					
						
							|  |  |  |     except:
 | 
					
						
							|  |  |  |       - master
 | 
					
						
							|  |  |  |   only_commits:
 | 
					
						
							|  |  |  |     message: /\[build\]/
 | 
					
						
							| 
									
										
										
										
											2019-08-18 10:23:54 +08:00
										 |  |  |   environment:
 | 
					
						
							|  |  |  |     matrix:
 | 
					
						
							| 
									
										
										
										
											2019-08-16 10:12:34 +08:00
										 |  |  |     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
 | 
					
						
							|  |  |  |       VS_PLATFORM_TOOLSET: v142
 | 
					
						
							| 
									
										
										
										
											2019-08-15 11:22:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 11:24:54 +08:00
										 |  |  | configuration:
 | 
					
						
							|  |  |  | - Debug
 | 
					
						
							|  |  |  | - Release
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 11:24:54 +08:00
										 |  |  | platform:
 | 
					
						
							|  |  |  | - Win32
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  | # cache: packages/
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | install:
 | 
					
						
							|  |  |  | - ps: .\scripts\appveyor\install_coapp.ps1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # before_build:
 | 
					
						
							|  |  |  | # - ps: nuget restore projects/Kiwano.sln
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 11:24:54 +08:00
										 |  |  | build:
 | 
					
						
							|  |  |  |   parallel: true
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:32:00 +08:00
										 |  |  |   project: projects/Kiwano.sln
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |   verbosity: minimal
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-15 11:22:51 +08:00
										 |  |  | after_build:
 | 
					
						
							|  |  |  | - ps: .\scripts\appveyor\wait_for_other_jobs.ps1
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | artifacts:
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  | - path: projects/output/**/*.lib
 | 
					
						
							|  |  |  |   name: $(appveyor_project_name)-v$(appveyor_build_version)-$(VS_PLATFORM_TOOLSET).$(platform).$(configuration)
 | 
					
						
							| 
									
										
										
										
											2019-08-08 15:20:02 +08:00
										 |  |  | - path: projects/output/**/*.pdb
 | 
					
						
							|  |  |  |   name: $(appveyor_project_name)-v$(appveyor_build_version)-$(VS_PLATFORM_TOOLSET).$(platform).$(configuration)
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | before_deploy:
 | 
					
						
							|  |  |  | - ps: .\scripts\appveyor\coapp_make.ps1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | deploy:
 | 
					
						
							|  |  |  | - provider: GitHub
 | 
					
						
							| 
									
										
										
										
											2019-08-09 22:19:12 +08:00
										 |  |  |   repository: KiwanoEngine/Kiwano
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |   tag: v$(appveyor_build_version)
 | 
					
						
							|  |  |  |   release: v$(appveyor_build_version)
 | 
					
						
							|  |  |  |   description: Kiwano-v$(appveyor_build_version) releases.
 | 
					
						
							|  |  |  |   auth_token:
 | 
					
						
							|  |  |  |     secure: pDsK6i03d4qRjtrNXcbhLpAquso/muJWgDSWJHnxP7b6p54kXEvptB67J+1kJOhq
 | 
					
						
							|  |  |  |   artifact: /.*\.nupkg/
 | 
					
						
							|  |  |  |   draft: true
 | 
					
						
							|  |  |  |   on:
 | 
					
						
							| 
									
										
										
										
											2019-08-07 19:08:29 +08:00
										 |  |  |     branch: master
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |     # APPVEYOR_REPO_TAG: true
 | 
					
						
							|  |  |  |     flag_to_deploy: true
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - provider: NuGet
 | 
					
						
							|  |  |  |   api_key:
 | 
					
						
							| 
									
										
										
										
											2019-08-09 09:18:19 +08:00
										 |  |  |     secure: EY1214+kiGlWCnigIhzOkbjRqI+69VjELzgPdWREzWpNyuVK62V0x2ukoZiY8w6T
 | 
					
						
							|  |  |  |   # skip_symbols: true
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |   artifact: /.*\.nupkg/
 | 
					
						
							|  |  |  |   on:
 | 
					
						
							| 
									
										
										
										
											2019-08-07 19:08:29 +08:00
										 |  |  |     branch: master
 | 
					
						
							| 
									
										
										
										
											2019-08-06 15:28:45 +08:00
										 |  |  |     # APPVEYOR_REPO_TAG: true
 | 
					
						
							|  |  |  |     flag_to_deploy: true
 | 
					
						
							| 
									
										
										
										
											2019-08-06 09:13:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 12:32:05 +08:00
										 |  |  | notifications:
 | 
					
						
							|  |  |  | - provider: Email
 | 
					
						
							|  |  |  |   to:
 | 
					
						
							|  |  |  |   - 569629550@qq.com
 | 
					
						
							| 
									
										
										
										
											2019-08-15 11:22:51 +08:00
										 |  |  |   on_build_success: true
 | 
					
						
							| 
									
										
										
										
											2019-08-05 12:32:05 +08:00
										 |  |  |   on_build_failure: true
 | 
					
						
							| 
									
										
										
										
											2019-08-05 14:38:26 +08:00
										 |  |  |   on_build_status_changed: false
 |