forked from DarkWanderer/ClickHouse.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (43 loc) · 1.15 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
version: 1.2.0.{build}
image:
- Visual Studio 2019
- Ubuntu
environment:
CLICKHOUSE_CONNECTION: Host=localhost;Port=8123
nuget:
project_feed: false
disable_publish_on_pr: true
services:
- docker
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- dotnet restore
build_script:
- dotnet build --no-restore --configuration Release
before_test:
- docker pull yandex/clickhouse-server
- docker run -p 8123:8123 -d --name clickhouse-server yandex/clickhouse-server
- sleep 3
test_script:
- dotnet test --no-build --framework netcoreapp3.0 --configuration Release --test-adapter-path:. --logger:Appveyor
for:
- matrix:
only:
- image: Ubuntu
build_script:
- msbuild /p:Configuration=Release -verbosity:minimal
- matrix:
only:
- image: Visual Studio 2019
after_build:
- dotnet pack ClickHouse.Client/ClickHouse.Client.csproj --no-build --configuration Release --include-symbols --include-source -p:SymbolPackageFormat=snupkg
artifacts:
- path: '**/*nupkg'
name: NuGet