osu/appveyor.yml

28 lines
761 B
YAML
Raw Normal View History

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
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}'
2019-11-25 07:59:38 +00:00
cache:
2019-11-25 09:14:35 +00:00
- '%LOCALAPPDATA%\NuGet\v3-cache -> appveyor.yml'
2019-11-23 14:10:27 +00: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
publish_nuget: true
2019-11-24 08:53:57 +00:00
after_build:
- ps: dotnet tool restore
- ps: dotnet format --dry-run --check
2019-11-24 09:50:48 +00:00
- ps: .\InspectCode.ps1
2019-11-23 15:13:30 +00:00
test:
assemblies:
except:
- '**\*Android*'
- '**\*iOS*'
2019-11-25 09:14:35 +00:00
- 'build\**\*'