From 42e47606ceea70180b1e03f37c818b93dc9c824b Mon Sep 17 00:00:00 2001 From: Dekken Date: Sun, 10 May 2020 19:19:37 +0200 Subject: [PATCH] Create lgtm.yml successful build: https://lgtm.com/logs/81490e1791b04537a40f6366d2b42f4b5bdb7a32/lang:cpp --- lgtm.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lgtm.yml diff --git a/lgtm.yml b/lgtm.yml new file mode 100644 index 000000000..e889be48d --- /dev/null +++ b/lgtm.yml @@ -0,0 +1,27 @@ +extraction: + cpp: + prepare: + packages: + - build-essential + - autotools-dev + - automake + - gawk + - bison + - flex + - python3 + - python3-pip + configure: + command: + - python3 -m pip install pip --upgrade + - python3 -m pip install -r requirements.txt & + - export BD="$PWD"; cd ~/; mkdir usr; + - git clone https://github.com/swig/swig -b rel-4.0.0 swig + - cd swig; ./autogen.sh; ./configure --without-pcre --prefix=$HOME/usr + - make -j && make install + - git clone https://github.com/Dekken/maiken -b master --depth 1 maiken + - cd maiken; make nix; cp mkn $HOME/usr/bin; cd ..; rm -rf maiken; cd $BD + index: + build_command: + - export PATH="$HOME/usr/bin:$PATH" + - ./sh/mkn.sh +