mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
83 lines
3.2 KiB
YAML
83 lines
3.2 KiB
YAML
image: Visual Studio 2019
|
|
version: 0.0.0.{build}
|
|
platform: Any CPU
|
|
skip_tags: true
|
|
|
|
assembly_info:
|
|
patch: false
|
|
file: '**\AssemblyInfo.*'
|
|
assembly_version: $(APPVEYOR_BUILD_VERSION)
|
|
assembly_file_version: $(APPVEYOR_BUILD_VERSION)
|
|
assembly_informational_version: $(APPVEYOR_BUILD_VERSION)
|
|
dotnet_csproj:
|
|
patch: false
|
|
file: '**\*.csproj'
|
|
version: $(APPVEYOR_BUILD_VERSION)
|
|
package_version: $(APPVEYOR_BUILD_VERSION)
|
|
assembly_version: $(APPVEYOR_BUILD_VERSION)
|
|
file_version: $(APPVEYOR_BUILD_VERSION)
|
|
informational_version: $(APPVEYOR_BUILD_VERSION)
|
|
|
|
#environment:
|
|
# github_access_token:
|
|
# secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
|
|
|
|
cache:
|
|
- packages
|
|
|
|
#install:
|
|
# - ps: ./CI/appveyor_install.ps1
|
|
|
|
before_build:
|
|
- nuget restore -Verbosity quiet
|
|
- msbuild /nologo /v:m /t:Clean
|
|
|
|
build_script:
|
|
- 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"
|
|
- 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
|
|
|
|
for:
|
|
#-
|
|
# 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
|
|
-
|
|
configuration: Debug
|
|
artifacts:
|
|
- path: BililiveRecorder.WPF\bin\Debug
|
|
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
|
|
|
|
on_finish:
|
|
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|