forked from couchbaselabs/couchbase-mobile-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (28 loc) · 1.38 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
version: 1.0.0.{build}
branches:
only:
- dev
skip_tags: true
init:
- cmd: git config --global core.autocrlf true
# Environment
image: Visual Studio 2017
clone_depth: 1
before_build:
- dotnet restore LargeDatasetGenerator/LargeDatasetGenerator.sln
build_script:
- ps: dotnet build -c release LargeDatasetGenerator/LargeDatasetGenerator/LargeDatasetGenerator.csproj
- ps: dotnet publish -r win10-x64 -c release LargeDatasetGenerator/LargeDatasetGenerator/LargeDatasetGenerator.csproj
- ps: Add-AppveyorMessage -Message "Windows publish completed"
- ps: dotnet publish -r osx-x64 -c release LargeDatasetGenerator/LargeDatasetGenerator/LargeDatasetGenerator.csproj
- ps: Add-AppveyorMessage -Message "macOS publish completed"
- ps: dotnet publish -r linux-x64 -c release LargeDatasetGenerator/LargeDatasetGenerator/LargeDatasetGenerator.csproj
- ps: Add-AppveyorMessage -Message "Linux publish completed"
after_build:
- ps: Move-Item .\LargeDatasetGenerator\LargeDatasetGenerator\bin\release\netcoreapp2.1\win10-x64\publish\ win10-x64
- ps: Move-Item .\LargeDatasetGenerator\LargeDatasetGenerator\bin\release\netcoreapp2.1\osx-x64\publish\ macos-x64
- ps: Move-Item .\LargeDatasetGenerator\LargeDatasetGenerator\bin\release\netcoreapp2.1\linux-x64\publish\ linux-x64
artifacts:
- path: win10-x64
- path: macos-x64
- path: linux-x64