From 4504f5228837fec96cb41cbb7c5a07f2fe468c16 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 9 Nov 2021 20:17:21 -0300 Subject: [PATCH] Adding lgtm configuration file. --- .lgtm.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+), 0 deletions(-) create mode 100644 .lgtm.yml diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000..41ea9fc --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,38 @@ + +# Reference: https://github.com/yasio/yasio/blob/main/.lgtm.yml + +extraction: + # Define settings for C/C++ analysis + ##################################### + cpp: + prepare: + packages: + - gettext + - git + - make + - autotools-dev + - autoconf + - automake + - pkg-config + - gettext + - libssl-dev + - libcurl4-openssl-dev + - libgtk-3-dev + - imagemagick + + # Add an `after-prepare` step if you need to run commands after the prepare step. + # Each command should be listed on a separate line. + # This step is useful for C/C++ analysis where you want to prepare the environment + # for the `configure` step without changing the default behavior for that step. + after_prepare: + - export PRE_REQS_DIR=$(readlink -f .)/pre-reqs + - git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 + - cd lib3270 + - ./autogen.sh + - ./configure --prefix=/usr + - make + - make DESTDIR=${PRE_REQS_DIR} install + - cd .. + - export LIB3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include" + - export LIB3270_LIBS="-L${PRE_REQS_DIR}/usr/lib -l3270" + -- libgit2 0.21.2