2018-03-24 04:58:56 +08:00
|
|
|
image: Visual Studio 2017
|
2018-03-25 04:50:26 +08:00
|
|
|
|
2018-03-25 10:21:52 +08:00
|
|
|
version: Oops{build}
|
2018-03-25 04:50:26 +08:00
|
|
|
|
2018-04-14 07:05:25 +08:00
|
|
|
#
|
|
|
|
# 在 Appveyor 控制台设置的
|
|
|
|
#
|
|
|
|
# Branches to build
|
|
|
|
# All except branches specified below
|
|
|
|
# master
|
|
|
|
#
|
|
|
|
# [x] Do not build tags
|
|
|
|
#
|
2018-03-25 10:18:54 +08:00
|
|
|
|
|
|
|
platform: Any CPU
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
#- Release
|
|
|
|
|
2018-03-24 04:58:56 +08:00
|
|
|
assembly_info:
|
|
|
|
patch: true
|
|
|
|
file: '**\AssemblyInfo.*'
|
2018-03-25 06:02:15 +08:00
|
|
|
assembly_version: $(p_version)
|
|
|
|
assembly_file_version: $(p_version)
|
|
|
|
assembly_informational_version: $(p_version)
|
2018-03-24 04:58:56 +08:00
|
|
|
dotnet_csproj:
|
|
|
|
patch: true
|
2018-03-25 06:46:05 +08:00
|
|
|
file: '**\*.csproj'
|
2018-03-25 06:02:15 +08:00
|
|
|
version: $(p_version)
|
|
|
|
package_version: $(p_version)
|
|
|
|
assembly_version: $(p_version)
|
|
|
|
file_version: $(p_version)
|
|
|
|
informational_version: $(p_version)
|
2018-03-25 04:50:26 +08:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: BililiveRecorder.WPF\bin\Debug
|
2018-03-25 10:18:54 +08:00
|
|
|
name: BililiveRecorderDebugBuild
|
2018-03-25 04:50:26 +08:00
|
|
|
|
2018-03-24 04:58:56 +08:00
|
|
|
environment:
|
|
|
|
github_access_token:
|
|
|
|
secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
|
2018-04-14 09:39:39 +08:00
|
|
|
codesignaes:
|
|
|
|
secure: 9f78dD9jN5vlVZ0zv15kdD4Mj+/+uacfu29bbGC+cBVFs834aFVf5Ci+n3NP3Bl7
|
|
|
|
codesignpasswd:
|
|
|
|
secure: iKv14aGuHUDEfb5fSIBMuSsu1JnisWXL8wJ7x/2DCNtggWKevjhOFBOrI7c95xBY
|
2018-03-25 10:18:54 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- packages
|
|
|
|
|
2018-04-14 11:01:47 +08:00
|
|
|
install:
|
|
|
|
- ps: ./CI/appveyor_install.ps1
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- nuget restore -Verbosity quiet
|
|
|
|
- msbuild /t:Clean /verbosity:quiet /nologo
|
|
|
|
|
2018-03-24 04:58:56 +08:00
|
|
|
build:
|
|
|
|
verbosity: minimal
|
2018-03-25 10:18:54 +08:00
|
|
|
|
|
|
|
after_build:
|
2018-04-14 07:05:25 +08:00
|
|
|
- ps: ./CI/appveyor_after_build.ps1
|
|
|
|
|
2018-04-14 11:01:47 +08:00
|
|
|
on_success:
|
|
|
|
- ps: ./CI/appveyor_on_success.ps1
|
2018-04-14 07:05:25 +08:00
|
|
|
|
2018-03-25 10:18:54 +08:00
|
|
|
|
2018-03-25 10:42:09 +08:00
|
|
|
# after_deploy:
|
2018-03-25 10:18:54 +08:00
|
|
|
|
2018-03-24 04:58:56 +08:00
|
|
|
# clone soft.danmuji.org
|
|
|
|
# copy files
|
|
|
|
# - git commit ...
|
|
|
|
# - git push ...
|
|
|
|
|
|
|
|
# TODO: Github Release
|
2018-03-25 05:47:34 +08:00
|
|
|
|
2018-03-25 06:02:15 +08:00
|
|
|
#on_finish:
|
|
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|