forked from TeamHypersomnia/rectpack2D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (32 loc) · 872 Bytes
/
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
version: 1.0.{build}
branches:
only:
- master
image: Visual Studio 2017 Preview
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
project: build/rectpack2D.sln # path to Visual Studio solution or project
verbosity: minimal
install:
- git submodule update --init --recursive
test:
assemblies:
only:
- '**\*.rectpack2D.exe'
- '**\*.rectpack2D-Debug.exe'
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: false
on_build_status_changed: false
before_build:
- mkdir build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" ..
test_script:
- ps: 'cd ../example'
- ps: '& "../build/$env:CONFIGURATION/rectpack2D.exe" --unit-tests-only'
- ps: 'if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }'