forked from google/conscrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
21 lines (20 loc) · 866 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This configuration file is for https://lgtm.com/ code analysis using Semmle.
extraction:
java:
prepare:
packages:
- cmake
- golang-go
- ninja-build
after_prepare:
- export BORINGSSL_HOME="$LGTM_WORKSPACE/boringssl"
- export CXXFLAGS="-std=c++11"
- mkdir -p $BORINGSSL_HOME
- curl -Lo - https://boringssl.googlesource.com/boringssl/+archive/refs/heads/master.tar.gz | tar zxvfC - $BORINGSSL_HOME
- git config --global user.email "[email protected]"
- git config --global user.name "Semmle Builder"
- ( cd $BORINGSSL_HOME ; git init ; git commit --allow-empty -m "Fake repo" )
- mkdir $BORINGSSL_HOME/build64 && pushd $BORINGSSL_HOME/build64
- cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_ASM_FLAGS=-Wa,--noexecstack -GNinja ..
- ninja
- popd