-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathappveyor.yml
100 lines (74 loc) · 3.53 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
image: Visual Studio 2019
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: a+daW6wCxNjiC19/k6jLSgweptfO1hx8779M6wDFPaEA/Hg14D6jVqMBw/mO27Sq
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
- path: Samples\DotNetSdk\SondeFileImporter\bin\Release
name: SondeFileImporter
- path: TimeSeries\PublicApis\SdkExamples\PointZilla\bin\Release\PointZilla.exe
name: PointZilla
- path: TimeSeries\PublicApis\SdkExamples\TimeSeriesChangeMonitor\bin\Release\TimeSeriesChangeMonitor.exe
name: TimeSeriesChangeMonitor
- path: TimeSeries\PublicApis\SdkExamples\LocationDeleter\bin\Release\LocationDeleter.exe
name: LocationDeleter
- path: TimeSeries\PublicApis\SdkExamples\UserImporter\bin\Release\UserImporter.exe
name: UserImporter
- path: TimeSeries\PublicApis\SdkExamples\ChangeVisitApprovals\bin\Release\ChangeVisitApprovals.exe
name: ChangeVisitApprovals
- path: TimeSeries\PublicApis\SdkExamples\ExcelCsvExtractor\bin\Release\ExcelCsvExtractor.exe
name: ExcelCsvExtractor
- path: TimeSeries\PublicApis\SdkExamples\SharpShooterReportsRunner\bin\Release
name: SharpShooterReportsRunner
- path: TimeSeries\PublicApis\SdkExamples\WaterWatchPreProcessor\bin\Release\WaterWatchPreProcessor.exe
name: WaterWatchPreProcessor
- path: TimeSeries\PublicApis\SdkExamples\NEM12PreProcessor\bin\Release\NEM12PreProcessor.exe
name: NEM12PreProcessor
- path: TimeSeries\PublicApis\SdkExamples\TotalDischargeExternalProcessor\bin\Release\TotalDischargeExternalProcessor.exe
name: TotalDischargeExternalProcessor
- path: Samples\DotNetSdk\SamplesPlannedSpecimenInstantiator\bin\Release\SamplesPlannedSpecimenInstantiator.exe
name: SamplesPlannedSpecimenInstantiator
- path: Samples\DotNetSdk\SamplesObservationExporter\bin\Release\SamplesObservationExporter.exe
name: SamplesObservationExporter
- path: Samples\DotNetSdk\ObservationReportExporter\bin\Release\ObservationReportExporter.exe
name: ObservationReportExporter
- path: Samples\DotNetSdk\LabFileImporter\bin\Release\LabFileImporter.exe
name: LabFileImporter
- path: Samples\DotNetSdk\NWFWMD-LabFileImporter\bin\Release\NWFWMD-LabFileImporter.exe
name: NWFWMD-LabFileImporter
deploy:
- provider: GitHub
tag: v$(APPVEYOR_BUILD_VERSION)
release: Example utilities $(APPVEYOR_BUILD_VERSION)
description: ''
artifact: UserImporter, PointZilla, TimeSeriesChangeMonitor, LocationDeleter, ObservationValidator, ChangeVisitApprovals, ExcelCsvExtractor, SharpShooterReportsRunner, WaterWatchPreProcessor, TotalDischargeExternalProcessor, SondeFileImporter, SamplesPlannedSpecimenInstantiator, SamplesObservationExporter, LabFileImporter, NWFWMD-LabFileImporter, NEM12PreProcessor, ObservationReportExporter
auth_token: $(GITHUB_AUTH_TOKEN)
on:
is_not_pr: true