-
Notifications
You must be signed in to change notification settings - Fork 117
/
appveyor.yml
49 lines (40 loc) · 1.75 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: 2.3.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_tags: true
image: Visual Studio 2019
configuration: Release
platform: Any CPU
shallow_clone: true
build_script:
- cmd: >-
dotnet build -f netstandard2.1 -v m /p:Version=%APPVEYOR_BUILD_VERSION% .\SharedMemory\SharedMemory.csproj
dotnet build -f netstandard2.0 -v m /p:Version=%APPVEYOR_BUILD_VERSION% .\SharedMemory\SharedMemory.csproj
dotnet build -f netcoreapp3.0 -v m /p:Version=%APPVEYOR_BUILD_VERSION% .\SharedMemory.Tests\SharedMemory.Tests.csproj
dotnet build -f netcoreapp2.0 -v m /p:Version=%APPVEYOR_BUILD_VERSION% .\SharedMemory.Tests\SharedMemory.Tests.csproj
dotnet build -f net47 -v m /p:Version=%APPVEYOR_BUILD_VERSION%
dotnet build -f net46 -v m /p:Version=%APPVEYOR_BUILD_VERSION%
dotnet build -f net45 -v m /p:Version=%APPVEYOR_BUILD_VERSION%
msbuild .\SharedMemory\SharedMemory.csproj /verbosity:m /p:TargetFramework=net4 /p:Version=%APPVEYOR_BUILD_VERSION%
msbuild .\SharedMemory\SharedMemory.csproj /verbosity:m /p:TargetFramework=net35 /p:Version=%APPVEYOR_BUILD_VERSION%
nuget pack SharedMemory.nuspec -Symbols -Version %APPVEYOR_BUILD_VERSION%
artifacts:
- path: bin\Release\net47\SharedMemory.dll
name: SharedMemory.dll
- path: Examples\SingleProcess\bin\Release\net47\SingleProcess.exe
name: SingleProcess.exe
- path: Examples\ClientTest\bin\Release\net47\ClientTest.exe
name: ClientTest.exe
- path: Examples\ServerTest\bin\Release\net47\ServerTest.exe
name: ServerTest.exe
- path: Examples\RpcTest\bin\Release\net47\RpcTest.exe
name: RpcTest.exe
- path: '**\*.nupkg'
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: e4koh5XAZTPiyEU1naOGPiO3wvz14pD6huFncm2ffzxbO+Vh0kNX2lOBQoa/BV+2