-
Notifications
You must be signed in to change notification settings - Fork 20
/
appveyor.yml
33 lines (32 loc) · 1.18 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
version: '1.0.{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
configuration:
- Debug
- Release
platform: Any CPU
init:
- ps: $Env:LABEL = "build" + $ENV:APPVEYOR_BUILD_NUMBER.PadLeft(4, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "Konscious.Security.Cryptography.Blake2" -c %CONFIGURATION% --version-suffix %LABEL%
- dotnet build "Konscious.Security.Cryptography.Blake2.Test" -c %CONFIGURATION% --version-suffix %LABEL%
- dotnet build "Konscious.Security.Cryptography.Argon2" -c %CONFIGURATION% --version-suffix %LABEL%
- dotnet build "Konscious.Security.Cryptography.Argon2.Test" -c %CONFIGURATION% --version-suffix %LABEL%
test_script:
- dotnet test "Konscious.Security.Cryptography.Blake2.Test" -c %CONFIGURATION%
- dotnet test "Konscious.Security.Cryptography.Argon2.Test" -c %CONFIGURATION%
after_build:
- dotnet pack "Konscious.Security.Cryptography.Blake2" -c %CONFIGURATION% -o ..\artifacts
- dotnet pack "Konscious.Security.Cryptography.Argon2" -c %CONFIGURATION% -o ..\artifacts
artifacts:
- path: artifacts\*.nupkg
name: NuGet
cache:
- '%USERPROFILE%\.nuget\packages'