File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ image : debian:11-slim
2+
3+ variables :
4+ GIT_SUBMODULE_STRATEGY : " recursive"
5+
6+ # Build with GCC / G++.
7+ build_gcc :
8+ stage : build
9+ before_script :
10+ - apt-get update && apt-get -y install catch cmake g++ libxml2-dev pkg-config
11+ - export CC=gcc && export CXX=g++
12+ script :
13+ # Linting script also lints a lot of unrelated stuff (GUIs, archives, etc.)
14+ # which would require a lot of more dependendencies (png, jpeg, freeglut, ...)
15+ # that just blow up the number of installed packages, so no linting is done here
16+ # for the moment. This may (or may not) change in the future.
17+ # - ./ci/cpplint.sh
18+ - mkdir ./build
19+ - cd ./build
20+ - cmake ../
21+ - make -j4
22+ - ctest -V
23+
24+ # Build with Clang / Clang++.
25+ build_clang :
26+ stage : build
27+ before_script :
28+ - apt-get update && apt-get -y install catch clang cmake libxml2-dev pkg-config
29+ - export CC=clang && export CXX=clang++
30+ script :
31+ # Linting script also lints a lot of unrelated stuff (GUIs, archives, etc.)
32+ # which would require a lot of more dependendencies (png, jpeg, freeglut, ...)
33+ # that just blow up the number of installed packages, so no linting is done here
34+ # for the moment. This may (or may not) change in the future.
35+ # - ./ci/cpplint.sh
36+ - mkdir ./build
37+ - cd ./build
38+ - cmake ../
39+ - make -j4
40+ - ctest -V
You can’t perform that action at this time.
0 commit comments