forked from StackExchange/StackExchange.Redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
86 lines (58 loc) · 2.72 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
78
79
80
81
82
83
84
85
86
image:
- Visual Studio 2019
init:
- git config --global core.autocrlf input
install:
- cmd: >-
choco install dotnet-6.0-sdk
choco install dotnet-7.0-sdk
cd tests\RedisConfigs\3.0.503
redis-server.exe --service-install --service-name "redis-6379" "..\Basic\primary-6379-3.0.conf"
redis-server.exe --service-install --service-name "redis-6380" "..\Basic\replica-6380.conf"
redis-server.exe --service-install --service-name "redis-6381" "..\Basic\secure-6381.conf"
redis-server.exe --service-install --service-name "redis-6382" "..\Failover\primary-6382.conf"
redis-server.exe --service-install --service-name "redis-6383" "..\Failover\replica-6383.conf"
redis-server.exe --service-install --service-name "redis-7000" "..\Cluster\cluster-7000.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7001" "..\Cluster\cluster-7001.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7002" "..\Cluster\cluster-7002.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7003" "..\Cluster\cluster-7003.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7004" "..\Cluster\cluster-7004.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7005" "..\Cluster\cluster-7005.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7010" "..\Sentinel\redis-7010.conf"
redis-server.exe --service-install --service-name "redis-7011" "..\Sentinel\redis-7011.conf"
redis-server.exe --service-install --service-name "redis-26379" "..\Sentinel\sentinel-26379.conf" --sentinel
redis-server.exe --service-install --service-name "redis-26380" "..\Sentinel\sentinel-26380.conf" --sentinel
redis-server.exe --service-install --service-name "redis-26381" "..\Sentinel\sentinel-26381.conf" --sentinel
cd ..\..\..
- ps: >-
if (Get-Command "Start-Service" -errorAction SilentlyContinue) {
Start-Service redis-*
}
branches:
only:
- main
skip_branch_with_pr: true
skip_tags: true
skip_commits:
files:
- '**/*.md'
- docs/*
environment:
Appveyor: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages ($env:OS -eq "Windows_NT")
test: off
artifacts:
- path: .\.nupkgs\*.nupkg
- path: '**\*.trx'
deploy:
- provider: NuGet
server: https://www.myget.org/F/stackoverflow/api/v2
on:
branch: main
api_key:
secure: P/UHxq2DEs0GI1SoDXDesHjRVsSVgdywz5vmsnhFQQY5aJgO3kP+QfhwfhXz19Rw
symbol_server: https://www.myget.org/F/stackoverflow/symbols/api/v2/package