forked from osrmnet/osrmnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
51 lines (49 loc) · 1.75 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
# Copyright (c) 2016 Surya Suluh and osrmnet contributors. All rights reserved.
# Licensed under the MIT License. See included LICENSE in the project root for license information.
# Master Branch (Release is controlled by Tag)
-
shallow_clone: true
clone_depth: 1
version: 0.1.0.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
configuration: Release
platform: x64
image: Visual Studio 2015
# Uncomment to debug the AV build worker
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
cache:
- .\src\packages -> .\src\**\packages.config
- .\src\osrm.net\libosrm -> .\libosrmver.txt
- .\src\Test\osrm.net.test\TestData -> .\libosrmver.txt
before_build:
- appveyor-retry nuget restore .\src\osrm.net.sln
- ps: .\build.ps1
build_script:
- msbuild .\src\osrm.net.sln /t:Rebuild /p:Configuration=Release;Platform="x64" /m
- nuget.exe pack .\src\osrm.net\osrm.net.nuspec -NonInteractive -Version %APPVEYOR_BUILD_VERSION%-pre
artifacts:
- path: '*.nupkg'
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "0.1.0.{build}"
assembly_file_version: "0.1.0.{build}"
assembly_informational_version: "0.1.0.{build}-pre"
test:
assemblies: '**\*.Test.dll'
deploy:
provider: NuGet
api_key:
secure: EOx473RuAtGsqMKKDlZoUOx/2ae4fH0nYt2yVpP2y7sUJ02fZ6pGEHH+zthADQYG
skip_symbols: false
on:
branch: master
appveyor_repo_tag: true
# Uncomment to debug the AV build worker
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))