forked from ppy/osu-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
28 lines (28 loc) · 978 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
clone_depth: 1
version: '{build}'
skip_tags: true
image: Visual Studio 2017
configuration: Debug
cache:
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- cmd: git submodule update --init --recursive
- cmd: choco install resharper-clt -y
- cmd: choco install nvika -y
- cmd: dotnet tool install CodeFileSanity --version 0.0.16 --global
- cmd: pip install httpbin waitress
- ps: Start-Process waitress-serve "--listen=*:80 httpbin:app" -PassThru
before_build:
- cmd: CodeFileSanity
- cmd: nuget restore
build:
project: osu-framework.sln
parallel: true
verbosity: minimal
after_build:
- cmd: inspectcode /o="inspectcodereport.xml" /caches-home="inspectcode" osu-framework.sln
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
- cmd: dotnet pack osu.Framework --include-symbols /p:Version=0.0.%APPVEYOR_BUILD_VERSION%
artifacts:
- path: osu.Framework/bin/Debug/*.nupkg