Skip to content

Commit 3bfb95f

Browse files
authored
Initial revision of .lgtm.yml config file (#6258)
This allows for doing security code analysis via lgtm.com. This is just the first known good config I have tried that could successfully run a build. There are many options if we wish to exclude certain files/dir or other pre/post build options: https://help.semmle.com/lgtm-enterprise/user/help/lgtm.yml-configuration-file.html
1 parent fa6e573 commit 3bfb95f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.lgtm.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
18+
extraction:
19+
cpp:
20+
prepare:
21+
packages:
22+
- "libcjose-dev"
23+
- "libcjose0"
24+
- "libjansson-dev"
25+
- "libluajit-5.1-dev"
26+
- "libpcre3-dev"
27+
- "zlib1g-dev"
28+
after_prepare: "autoreconf -fiv"
29+
configure:
30+
command: "./configure --enable-experimental-plugins"
31+
index:
32+
build_command: "make -j"

0 commit comments

Comments
 (0)