2018-04-20 13:41:57 +08:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2019-10-30 22:58:23 +08:00
|
|
|
image: Visual Studio 2019
|
2019-11-24 20:39:11 +08:00
|
|
|
dotnet_csproj:
|
|
|
|
patch: true
|
|
|
|
file: 'osu.Game\osu.Game.csproj' # Use wildcard when it's able to exclude Xamarin projects
|
|
|
|
version: '0.0.{build}'
|
2019-11-25 15:59:38 +08:00
|
|
|
cache:
|
2019-11-25 17:14:35 +08:00
|
|
|
- '%LOCALAPPDATA%\NuGet\v3-cache -> appveyor.yml'
|
2019-11-23 22:10:27 +08:00
|
|
|
before_build:
|
|
|
|
- ps: dotnet --info # Useful when version mismatch between CI and local
|
|
|
|
- ps: nuget restore -verbosity quiet # Only nuget.exe knows both new (.NET Core) and old (Xamarin) projects
|
|
|
|
build:
|
|
|
|
project: osu.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
2019-11-26 16:40:48 +08:00
|
|
|
publish_nuget: true
|
2019-11-24 16:53:57 +08:00
|
|
|
after_build:
|
|
|
|
- ps: dotnet tool restore
|
|
|
|
- ps: dotnet format --dry-run --check
|
2019-11-24 17:50:48 +08:00
|
|
|
- ps: .\InspectCode.ps1
|
2019-11-23 23:13:30 +08:00
|
|
|
test:
|
|
|
|
assemblies:
|
|
|
|
except:
|
|
|
|
- '**\*Android*'
|
|
|
|
- '**\*iOS*'
|
2019-11-25 17:14:35 +08:00
|
|
|
- 'build\**\*'
|