2018-04-20 05:41:57 +00:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2019-10-30 14:58:23 +00:00
|
|
|
image: Visual Studio 2019
|
2021-06-15 12:45:02 +00:00
|
|
|
cache:
|
|
|
|
- '%LOCALAPPDATA%\NuGet\v3-cache -> appveyor.yml'
|
|
|
|
|
2019-11-24 12:39:11 +00: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}'
|
2021-06-15 12:45:02 +00:00
|
|
|
|
2019-11-23 14:10:27 +00:00
|
|
|
before_build:
|
2021-06-15 12:45:02 +00:00
|
|
|
- cmd: dotnet --info # Useful when version mismatch between CI and local
|
|
|
|
- cmd: nuget restore -verbosity quiet # Only nuget.exe knows both new (.NET Core) and old (Xamarin) projects
|
|
|
|
|
2019-11-23 14:10:27 +00:00
|
|
|
build:
|
|
|
|
project: osu.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
2019-11-26 08:40:48 +00:00
|
|
|
publish_nuget: true
|
2021-06-15 12:45:02 +00:00
|
|
|
|
2019-11-24 08:53:57 +00:00
|
|
|
after_build:
|
2021-06-15 13:40:31 +00:00
|
|
|
- ps: .\InspectCode.ps1
|
2021-06-14 20:46:56 +00:00
|
|
|
|
2019-11-23 15:13:30 +00:00
|
|
|
test:
|
|
|
|
assemblies:
|
|
|
|
except:
|
|
|
|
- '**\*Android*'
|
|
|
|
- '**\*iOS*'
|
2019-11-25 09:14:35 +00:00
|
|
|
- 'build\**\*'
|