forked from paceholder/nodeeditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
68 lines (55 loc) · 1.46 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
clone_depth: 5
environment:
matrix:
- GENERATOR : "Visual Studio 14 2015 Win64"
QTDIR: C:\Qt\5.6.3\msvc2015_64
PLATFORM: x64
- GENERATOR : "Visual Studio 14 2015"
QTDIR: C:\Qt\5.6.3\msvc2015
PLATFORM: Win32
- GENERATOR : "MinGW Makefiles"
QTDIR: C:\Qt\5.6\mingw49_32
PLATFORM: x86
CMAKE_CXX_FLAGS_INIT: -DCATCH_CONFIG_NO_CPP11_TO_STRING
image: Visual Studio 2015
configuration:
- Release
#branches:
#only:
#- master
install:
- set PATH=%QTDIR%\bin;%PATH%
- set Qt5_DIR=%QTDIR%\lib\cmake\Qt5
- set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0;%PATH%
- set PATH=%PATH:C:\Program Files\Git\usr\bin=% # trick to remove sh.exe
before_build:
- mkdir build
- cd build
- mkdir bin
- set OUTPUT_DIR=%cd%\bin
- cmake "-G%GENERATOR%"
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG="%OUTPUT_DIR%"
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="%OUTPUT_DIR%"
-DCMAKE_CXX_FLAGS_INIT="%CMAKE_CXX_FLAGS_INIT%"
..
build_script:
- cmake --build .
test_script:
- ctest --output-on-failure -C Debug
after_build:
- 7z a examples.zip %APPVEYOR_BUILD_FOLDER%/build/bin
- cmd: cd
- cmd: dir \S \P "examples.zip"
artifacts:
- path: build\examples.zip
name: ex
#deploy:
#release: $(APPVEYOR_REPO_TAG_NAME)
#provider: GitHub
#artifact: /.*\.exe/
#auth_token:
#secure: j0nBV9xVItdG3j6d0gHoyvrzi7TOhAy9/QIeyCbFeP8PTqq7DPr1oYwL5WIkPaXe
#draft: false
#prerelease: false
#on:
#appveyor_repo_tag: true