-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
77 lines (60 loc) · 1.88 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 1.0.0.{build}
image: Visual Studio 2017 Preview
# prevent the double build when a branch has an active PR
skip_branch_with_pr: true
environment:
matrix:
# - target_framework: netcoreapp2.1
# is_32bit: False
# - target_framework: netcoreapp2.1
# is_32bit: True
- target_framework: netcoreapp2.0
is_32bit: False
- target_framework: net471
is_32bit: False
- target_framework: net471
is_32bit: True
- target_framework: net462
is_32bit: False
- target_framework: net462
is_32bit: True
#- target_framework: netcoreapp2.0 # As far as I understand, 32 bit test execution is not supported by "dotnet xunit"
# is_32bit: True
#- target_framework: mono
# is_32bit: False
#- target_framework: mono
# is_32bit: True
#- target_framework: net47
# is_32bit: False
#- target_framework: net47
# is_32bit: True
install:
- ps: |
if ($env:target_framework -eq "mono") {
if ($env:is_32bit -eq "True") {
cinst mono --x86
} else {
cinst mono
}
}
before_build:
- git submodule -q update --init
- cmd: dotnet --info
build_script:
- cmd: build\build.cmd
after_build:
- cmd: appveyor PushArtifact "artifacts\Orleans.Persistence.Cassandra.%APPVEYOR_BUILD_VERSION%.nupkg"
#test_script:
#- ps: .\run-tests.ps1 $env:target_framework $env:is_32bit
#after_test:
# - cmd: appveyor PushArtifact "artifacts\Orleans.Persistence.Cassandra.%APPVEYOR_BUILD_VERSION%.nupkg"
deploy:
# MyGet Deployment for builds & releases
- provider: NuGet
server: https://www.myget.org/F/orleans-cassandra/api/v2/package
symbol_server: https://www.myget.org/F/orleans-cassandra/symbols/api/v2/package
api_key:
secure: oS9xcmuI1FbfAD8D2GGqI3XNFep6/ZcM7KCA9coG27SgnfnYyg8lx4VCfCfQ1Omb
artifact: /.*\.nupkg/
on:
branch: master