forked from UniStuttgart-VISUS/megamol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
57 lines (50 loc) · 1.57 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
shallow_clone: true
clone_depth: 1
branches:
only:
- master
environment:
matrix:
- image: Visual Studio 2017
configuration: Release
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: "Visual Studio 15 2017"
CMAKE_CONFIG: Release
VSVER: vs141
- image: Visual Studio 2019
configuration: Release
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_CONFIG: Release
VSVER: vs142
- image: Visual Studio 2019
configuration: Debug
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_CONFIG: Debug
VSVER: vs142
- image: Visual Studio 2019
configuration: RelWithDebInfo
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_CONFIG: RelWithDebInfo
VSVER: vs142
matrix:
fast_finish: true
before_build:
- mkdir build
- mkdir stage
- cd build
- cmake .. -G"%CMAKE_GENERATOR%" -A"x64" -DCMAKE_BUILD_TYPE=%CMAKE_CONFIG% -DCMAKE_INSTALL_PREFIX=c:\projects\megamol\stage\ -DCMAKE_CXX_FLAGS=/w
build:
parallel: true
build_script:
- cmake --build . --target install --config %CMAKE_CONFIG%
after_build:
- cd c:\projects\megamol\stage\
- 7z a -y -bd megamol.zip
- ps: Push-AppveyorArtifact "megamol.zip" -Filename "megamol-${env:VSVER}-${env:Platform}-${env:Configuration}.zip"