Skip to content

Commit e43c1cc

Browse files
committed
Minor tweaks to appveyor build script
- Fail the whole build upon a job failure - Cache the NuGet packages - Prefix the build version with the Assembly file version
1 parent d13202a commit e43c1cc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

appveyor.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '{build}'
1+
version: '0.20.1.{build}'
22

33
branches:
44
only:
@@ -16,8 +16,16 @@ environment:
1616
- xunit_runner: xunit.console.clr4.x86.exe
1717
Arch: 32
1818

19-
build_script:
19+
matrix:
20+
fast_finish: true
21+
22+
cache:
23+
- packages
24+
25+
before_build:
2026
- nuget restore "C:\projects\libgit2sharp\LibGit2Sharp.sln"
27+
28+
build_script:
2129
- msbuild "C:\projects\libgit2sharp\LibGit2Sharp.sln" /verbosity:normal /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:ExtraDefine="LEAKS_IDENTIFYING"
2230

2331
test_script:

0 commit comments

Comments
 (0)