forked from AquaticInformatics/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
77 lines (61 loc) · 2.08 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
image: Visual Studio 2017
platform: Any CPU
configuration: Release
shallow_clone: true
skip_tags: true
only_commits:
files:
- appveyor.yml
- Samples/DotNetSdk/
- TimeSeries/PublicApis/SdkExamples/
environment:
GITHUB_AUTH_TOKEN:
secure: e24gj/T2VZ5R4XwbNUwj+eu4FbHEqWKUhuvNKXcp4dRPxj8lgW3AbWgSitK5kzek
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "1.0.0.0"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
init:
- ps: |
If (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
$env:IS_NOT_PR = "true"
}
before_build:
- nuget restore Samples\DotNetSdk\DotNetSdkExamples.sln
- nuget restore TimeSeries\PublicApis\SdkExamples\SdkExamples.sln
build_script:
- msbuild Samples\DotNetSdk\DotNetSdkExamples.sln
- msbuild TimeSeries\PublicApis\SdkExamples\SdkExamples.sln
artifacts:
- path: Samples\DotNetSdk\ObservationValidator\bin\Release
name: ObservationValidator
type: zip
- path: TimeSeries\PublicApis\SdkExamples\PointZilla\bin\Release\PointZilla.exe
name: PointZilla
type: file
- path: TimeSeries\PublicApis\SdkExamples\TimeSeriesChangeMonitor\bin\Release\TimeSeriesChangeMonitor.exe
name: TimeSeriesChangeMonitor
type: file
- path: TimeSeries\PublicApis\SdkExamples\LocationDeleter\bin\Release\LocationDeleter.exe
name: LocationDeleter
type: file
- path: TimeSeries\PublicApis\SdkExamples\UserImporter\bin\Release\UserImporter.exe
name: UserImporter
type: file
- path: TimeSeries\PublicApis\SdkExamples\SosExporter\bin\Release\SosExporter.exe
name: SosExporter
type: file
- path: TimeSeries\PublicApis\SdkExamples\SharpShooterReportsRunner\bin\Release
name: SharpShooterReportsRunner
type: zip
deploy:
- provider: GitHub
tag: v$(APPVEYOR_BUILD_VERSION)
release: Example utilities $(APPVEYOR_BUILD_VERSION)
description: ''
artifact: UserImporter, PointZilla, TimeSeriesChangeMonitor, LocationDeleter, ObservationValidator, SosExporter, SharpShooterReportsRunner
auth_token: $(GITHUB_AUTH_TOKEN)
on:
is_not_pr: true