2020-06-21 18:29:20 +08:00
|
|
|
image: Visual Studio 2019
|
2018-11-09 08:30:08 +08:00
|
|
|
version: 0.0.0.{build}
|
2018-03-25 10:18:54 +08:00
|
|
|
platform: Any CPU
|
2018-04-14 11:20:55 +08:00
|
|
|
skip_tags: true
|
|
|
|
|
2018-03-24 04:58:56 +08:00
|
|
|
assembly_info:
|
2021-02-26 21:57:10 +08:00
|
|
|
patch: false
|
2018-03-24 04:58:56 +08:00
|
|
|
file: '**\AssemblyInfo.*'
|
2018-11-09 08:30:08 +08:00
|
|
|
assembly_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
assembly_file_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
assembly_informational_version: $(APPVEYOR_BUILD_VERSION)
|
2018-03-24 04:58:56 +08:00
|
|
|
dotnet_csproj:
|
2021-02-26 21:57:10 +08:00
|
|
|
patch: false
|
2018-03-25 06:46:05 +08:00
|
|
|
file: '**\*.csproj'
|
2018-11-09 08:30:08 +08:00
|
|
|
version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
package_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
assembly_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
file_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
informational_version: $(APPVEYOR_BUILD_VERSION)
|
2018-03-25 04:50:26 +08:00
|
|
|
|
2021-02-26 22:17:06 +08:00
|
|
|
#environment:
|
2021-02-26 21:57:10 +08:00
|
|
|
# github_access_token:
|
|
|
|
# secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
|
2018-03-25 10:18:54 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- packages
|
|
|
|
|
2021-02-26 22:17:06 +08:00
|
|
|
#install:
|
2021-02-26 21:57:10 +08:00
|
|
|
# - ps: ./CI/appveyor_install.ps1
|
2018-04-14 11:01:47 +08:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- nuget restore -Verbosity quiet
|
2019-11-24 10:01:05 +08:00
|
|
|
- msbuild /nologo /v:m /t:Clean
|
2018-04-14 11:01:47 +08:00
|
|
|
|
2018-11-09 08:30:08 +08:00
|
|
|
build_script:
|
2019-11-24 10:01:05 +08:00
|
|
|
- ps: msbuild /nologo /v:m /p:Configuration="$env:CONFIGURATION" /p:SquirrelBuildTarget="$env:DEPLOY_SITE_GIT\BililiveRecorder" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2021-02-26 22:25:35 +08:00
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "linux-arm" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "linux-arm64" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "linux-x64" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "osx.10.11-x64" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "osx-x64" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
|
|
|
- ps: dotnet publish -c "$env:CONFIGURATION" -r "win-x64" BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
2018-04-14 07:05:25 +08:00
|
|
|
|
2018-11-09 08:44:34 +08:00
|
|
|
for:
|
2021-02-26 21:57:10 +08:00
|
|
|
#-
|
|
|
|
# branches:
|
|
|
|
# only:
|
|
|
|
# - master # including pull requests target at master
|
|
|
|
# configuration: Release
|
|
|
|
# before_deploy: # wont run on pull request
|
|
|
|
# - ps: ./CI/appveyor_deploy.ps1
|
|
|
|
# deploy: # wont run on pull request
|
|
|
|
# provider: GitHub
|
|
|
|
# release: v$(APPVEYOR_BUILD_VERSION)
|
|
|
|
# description: '# ◁☆Fill out this before publish☆▷'
|
|
|
|
# auth_token:
|
|
|
|
# secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
|
|
|
|
# artifact: github
|
|
|
|
# draft: true
|
2018-11-09 08:30:08 +08:00
|
|
|
-
|
|
|
|
configuration: Debug
|
|
|
|
artifacts:
|
|
|
|
- path: BililiveRecorder.WPF\bin\Debug
|
2020-12-21 19:08:44 +08:00
|
|
|
name: BililiveRecorderWPFDebugBuild
|
|
|
|
- path: BililiveRecorder.Cli\publish\any
|
|
|
|
name: BililiveRecorderCliDebugBuild
|
|
|
|
- path: BililiveRecorder.Cli\publish\linux-arm
|
|
|
|
name: BililiveRecorderCliDebugBuild-linux-arm
|
|
|
|
- path: BililiveRecorder.Cli\publish\linux-arm64
|
|
|
|
name: BililiveRecorderCliDebugBuild-linux-arm64
|
|
|
|
- path: BililiveRecorder.Cli\publish\linux-x64
|
|
|
|
name: BililiveRecorderCliDebugBuild-linux-x64
|
|
|
|
- path: BililiveRecorder.Cli\publish\osx.10.11-x64
|
|
|
|
name: BililiveRecorderCliDebugBuild-osx.10.11-x64
|
|
|
|
- path: BililiveRecorder.Cli\publish\osx-x64
|
|
|
|
name: BililiveRecorderCliDebugBuild-osx-x64
|
|
|
|
- path: BililiveRecorder.Cli\publish\win-x64
|
|
|
|
name: BililiveRecorderCliDebugBuild-win-x64
|
2018-03-25 05:47:34 +08:00
|
|
|
|
2020-12-21 04:09:23 +08:00
|
|
|
on_finish:
|
|
|
|
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|