-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
appveyor.yml
32 lines (29 loc) · 1.31 KB
/
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
29
30
31
32
skip_tags: true
image: Visual Studio 2019 Preview
environment:
BENCHMARKS: on
signingkey:
secure: DcEnjxct82WwrppME28Rkw==
install:
- cmd: choco install gitversion.portable --version 5.1.3 -y
#- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
- cmd: appveyor-tools\secure-file -decrypt DotNet.Glob.snk.enc -secret %signingkey%
#- cmd: choco install dotnetcore-sdk --version 3.1.300
before_build:
- ps: gitversion /l console /output buildserver
build:
verbosity: detailed
build_script:
- cmd: dotnet restore ./src/DotNetGlob.sln -p:InformationalVersion=%GitVersion_InformationalVersion% -p:PackageVersion=%GitVersion_SemVer%
- cmd: dotnet build ./src/DotNetGlob.sln --no-restore -c Release -p:ContinuousIntegrationBuild=true -p:InformationalVersion=%GitVersion_InformationalVersion% -p:PackageVersion=%GitVersion_SemVer%
- cmd: dotnet pack ./src/DotNetGlob.sln --no-build -c Release -p:PackageVersion=%GitVersion_SemVer% --output %APPVEYOR_BUILD_FOLDER%/artifacts/
test_script:
- cmd: dotnet test src/dotnet.glob.tests/dotnet.glob.tests.csproj
artifacts:
- path: artifacts/*
deploy:
provider: NuGet
api_key:
secure: fv0AzEtZznVqb3V1d5JaR62XK5eQuyySgBP2J54HqFQXM01jMqKXHiLOOIdVsa9H
skip_symbols: false
artifact: /.*\.nupkg/