-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
167 lines (157 loc) · 5.04 KB
/
.gitlab-ci.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
stages:
- build
Ubuntu-Optional-Deps:
stage: build
script:
- module load Qt-5.15.2
- export APP_VERSION="dev"
- export APPIMAGES="visimpl stackviz"
#- export APPIMAGE_REPO="[email protected]:apps.private"
- export APPIMAGE_ICON="visimpl/visimpl.png"
#- export DOCKER_REPO="[email protected]:apps.private"
- export CMAKE_EXTRA_TARGETS="install"
- export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON"
- export BUILD_OPTIONALS_SUBPROJECTS=1
- export BUILD_GENERATOR="Ninja"
- bash .gitlab-ci.sh
except:
- master
tags:
- ubuntu
Ubuntu-Optional-Deps-master-tags:
stage: build
script:
- module load Qt-5.15.2
- export APPIMAGES="visimpl stackviz"
#- export APPIMAGE_REPO="[email protected]:apps"
- export APPIMAGE_ICON="visimpl/visimpl.png"
#- export DOCKER_REPO="[email protected]:apps.private"
- export CMAKE_EXTRA_TARGETS="install"
- export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON"
- export BUILD_OPTIONALS_SUBPROJECTS=1
- export BUILD_GENERATOR="Ninja"
- bash .gitlab-ci.sh
only:
- tags
except:
- branches
tags:
- ubuntu
Ubuntu-Optional-Deps-master:
stage: build
script:
- module load Qt-5.15.2
- export APP_VERSION="git-master"
- export APPIMAGES="visimpl stackviz"
#- export APPIMAGE_REPO="[email protected]:apps"
- export APPIMAGE_ICON="visimpl/visimpl.png"
#- export DOCKER_REPO="[email protected]:apps"
- export CMAKE_EXTRA_TARGETS="install"
- export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON"
- export BUILD_OPTIONALS_SUBPROJECTS=1
- export BUILD_GENERATOR="Ninja"
- bash .gitlab-ci.sh
only:
- master
except:
- tags
tags:
- ubuntu
Ubuntu-Subproject:
stage: build
script:
- module load Qt-5.15.2
- export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON"
- export BUILD_GENERATOR="Ninja";
- bash .gitlab-ci.sh
except:
- master
tags:
- ubuntu
Ubuntu-Subproject-master:
stage: build
script:
- module load Qt-5.15.2
- export GITHUB_MIRROR_URL="[email protected]:vg-lab/visimpl.git"
- export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON"
- export BUILD_GENERATOR="Ninja";
- bash .gitlab-ci.sh
only:
- master
tags:
- ubuntu
#OSX-Optional-Deps:
# stage: build
# script:
# - module load Qt-5.12.10
# - export APP_VERSION="dev"
# - export APPBUNDLES="visimpl stackviz"
# - export DMGAPP_REPO="[email protected]:apps.private"
# - export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON -DGLUT_glut_LIBRARY=/usr/local/Cellar/freeglut/3.0.0/lib/libglut.dylib"
# - export BUILD_OPTIONALS_SUBPROJECTS=1
# - export BUILD_GENERATOR="Ninja"
# - export CMAKE_OSX_ARCHITECTURES=x86_64
# - bash .gitlab-ci.sh
# tags:
# - osx-sierra
#OSX-Optional-Deps-master-tags:
# stage: build
# script:
# - module load Qt-5.12.10
# - export APPBUNDLES="visimpl stackviz"
# - export DMGAPP_REPO="[email protected]:apps"
# - export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON -DGLUT_glut_LIBRARY=/usr/local/Cellar/freeglut/3.0.0/lib/libglut.dylib"
# - export BUILD_OPTIONALS_SUBPROJECTS=1
# - export BUILD_GENERATOR="Ninja"
# - export CMAKE_OSX_ARCHITECTURES=x86_64
# - bash .gitlab-ci.sh
# only:
# - tags
# except:
# - branches
# tags:
# - osx-sierra
#OSX-Optional-Deps-master:
# stage: build
# script:
# - module load Qt-5.12.10
# - export APP_VERSION="git-master"
# - export APPBUNDLES="visimpl stackviz"
# - export DMGAPP_REPO="[email protected]:apps"
# - export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DVISIMPL_OPTIONALS_AS_REQUIRED=ON -DSIMIL_BRION_ENABLED=ON -DSIMIL_WITH_REST_API=ON -DGLUT_glut_LIBRARY=/usr/local/Cellar/freeglut/3.0.0/lib/libglut.dylib"
# - export BUILD_OPTIONALS_SUBPROJECTS=1
# - export BUILD_GENERATOR="Ninja"
# - export CMAKE_OSX_ARCHITECTURES=x86_64
# - bash .gitlab-ci.sh
# only:
# - master
# except:
# - tags
# tags:
# - osx-sierra
#OSX-Subproject:
# stage: build
# script:
# - module load Qt-5.12.10
# - export CMAKE_EXTRA_ARGS="-DCLONE_SUBPROJECTS=ON -DGLUT_glut_LIBRARY=/usr/local/Cellar/freeglut/3.0.0/lib/libglut.dylib"
# - export BUILD_GENERATOR="Ninja";
# - export CMAKE_OSX_ARCHITECTURES=x86_64
# - bash .gitlab-ci.sh
# tags:
# - osx-sierra
# Win7:
# stage: build
# script:
# - call %ENVFILESDIR%\Boost-1.72-vs14-x64.bat
# - call %ENVFILESDIR%\Qt-5.12-vs14.bat
# - call %ENVFILESDIR%\eigen-3.1.2-vs12-x64.bat
# - call %ENVFILESDIR%\glut-2.8.1.bat
# - call %ENVFILESDIR%\glew-2.1.0.bat
# - call %ENVFILESDIR%\glm.bat
# - call %ENVFILESDIR%\HDF5-1.8.17-vs12-x64.bat
# - call %ENVFILESDIR%\zeromq-4.2.1-vs14-x64
# - set BUILD_GENERATOR=Visual Studio 14 Win64
# - set CMAKE_EXTRA_ARGS=-DCLONE_SUBPROJECTS=ON -DCMAKE_POLICY_DEFAULT_CMP0074=NEW
# - '"c:\Program Files\Git\bin\bash.exe" --login .gitlab-ci.sh'
# tags:
# - win7