-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.lgtm.yml
69 lines (69 loc) · 2.22 KB
/
.lgtm.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
###########################################################################
path_classifiers:
test:
- test
extraction:
cpp:
prepare:
packages:
- build-essential
- g++-10
- gcc-10
- libffi-dev
- libgl-dev
- libpoppler-qt5-dev
- libqt5svg5-dev
- libssl-dev
- pybind11-dev
- python3-dev
- qt5-default
- qt5-qmake
- qtchooser
- qtbase5-dev
- qtbase5-dev-tools
- qttools5-dev
- software-properties-common
- zlib1g-dev
configure:
command:
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - > /usr/share/keyrings/kitware-archive-keyring.gpg \
- echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' > /etc/apt/sources.list.d/kitware.list \
- apt-get update && apt-get install -y cmake
- git clone https://gitlab.com/inkscape/lib2geom.git
- cd lib2geom; git checkout 37876ed4; cd ..
- cmake
-S lib2geom
-DCMAKE_CXX_COMPILER=g++-10
-DCMAKE_C_COMPILER=gcc-10
-B build-lib2geom
-GNinja
-DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE/install
-D2GEOM_TESTING=OFF
- cmake --build build-lib2geom --target install
- git clone https://github.com/fmtlib/fmt.git
- cd fmt; git checkout 8.0.1; cd ..
- cmake
-S fmt
-B build-fmt
-GNinja
-DCMAKE_CXX_COMPILER=g++-10
-DCMAKE_C_COMPILER=gcc-10
-DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE/install
- cmake --build build-fmt --target install
- cmake
-S .
-B build
-DBUILD_TRANSLATION=OFF
-DUSE_QT_5_12=ON
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_COMPILER=g++-10
-DCMAKE_C_COMPILER=gcc-10
-DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE/install
-DCMAKE_PREFIX_PATH=$LGTM_WORKSPACE/install
index:
build_command:
- cd build
- make
python:
after_prepare:
- export PATH=$LGTM_WORKSPACE/tools:$PATH