forked from tpm2-software/tpm2-pkcs11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
30 lines (30 loc) · 1.05 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
# SPDX-License-Identifier: BSD-2-Clause
extraction:
cpp:
prepare:
packages:
- autoconf-archive
- libcurl4-openssl-dev
- libjson-c-dev
- libssl-dev
- uuid-dev
after_prepare:
- cd "$LGTM_WORKSPACE"
- mkdir installdir
- wget https://github.com/tpm2-software/tpm2-tss/archive/master.tar.gz
- tar xf master.tar.gz && rm master.tar.gz
- cd tpm2-tss-master
- ./bootstrap
- ./configure --prefix="$LGTM_WORKSPACE/installdir/usr" --disable-doxygen-doc
- make install
- export PKG_CONFIG_PATH="$LGTM_WORKSPACE/installdir/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
- export LD_LIBRARY_PATH="$LGTM_WORKSPACE/installdir/usr/lib:$LD_LIBRARY_PATH"
- cd "$LGTM_WORKSPACE"
- wget https://github.com/tpm2-software/tpm2-tools/archive/master.tar.gz
- tar -xavf master.tar.gz && rm master.tar.gz
- cd "tpm2-tools-master"
- ./bootstrap
- ./configure --prefix="$LGTM_WORKSPACE/installdir/usr"
- make install
- export PATH="$LGTM_WORKSPACE/installdir/usr/bin:$PATH"
- cd "$LGTM_WORKSPACE"