2018-04-20 05:41:57 +00:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2022-12-15 15:21:23 +00:00
|
|
|
image: Visual Studio 2022
|
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
|
2022-12-19 07:39:03 +00:00
|
|
|
- cmd: dotnet workload install maui-android # Change to `dotnet workload restore` once there's no old projects
|
2022-12-15 15:21:23 +00:00
|
|
|
- cmd: dotnet workload install maui-ios # Change to `dotnet workload restore` once there's no old projects
|
2021-06-15 12:45:02 +00:00
|
|
|
- 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\**\*'
|