-
Notifications
You must be signed in to change notification settings - Fork 58
/
appveyor.yml
23 lines (23 loc) · 912 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
version: '4.0.{build}'
configuration:
- Release
platform: Any CPU
environment:
# Don't report back to the mothership
DOTNET_CLI_TELEMETRY_OPTOUT: 1
init:
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "RogueSharp\RogueSharp.csproj" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- dotnet pack "RogueSharp\RogueSharp.csproj" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
- dotnet publish "RogueSharp\RogueSharp.csproj" -c %CONFIGURATION% --no-build --framework netstandard1.0 --version-suffix %LABEL% -o artifacts\RogueSharp
test_script:
- dotnet test "RogueSharp.Test" -c %CONFIGURATION% -r artifacts
artifacts:
- path: RogueSharp\artifacts\**\*.*
# We don't use nuget dependencies so don't bother caching
# cache:
# - '%USERPROFILE%\.nuget\packages'