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