summaryrefslogtreecommitdiffstats
path: root/.lgtm.yml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2020-02-10 18:35:36 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2020-02-10 18:44:55 +0100
commit65be7042a876ffe186a42ced04cde60ed81d3136 (patch)
treebb35ef35020eaa1a9e12f6586a0c658b8c31b026 /.lgtm.yml
parentRevert "Support Plugable UD-PRO8 dock" (diff)
downloadsystemd-65be7042a876ffe186a42ced04cde60ed81d3136.tar.xz
systemd-65be7042a876ffe186a42ced04cde60ed81d3136.zip
lgtm: set TMPDIR to /var/tmp
`/tmp` has `noexec` set in the LGTM infrastructure which breaks meson's compilation checks. Let's use `/var/tmp` for now, until the issue is properly resolved See: https://discuss.lgtm.com/t/meson-fails-to-determine-sizes-of-basic-data-types/2639
Diffstat (limited to '')
-rw-r--r--.lgtm.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.lgtm.yml b/.lgtm.yml
index 1c7be044cb..5eb24f4a4d 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -1,3 +1,6 @@
+---
+# vi: ts=2 sw=2 et:
+
extraction:
cpp:
prepare:
@@ -12,6 +15,16 @@ extraction:
after_prepare:
- pip3 install meson
- export PATH="$HOME/.local/bin/:$PATH"
+ before_index:
+ # /tmp has `noexec` set in the LGTM infra which breaks meson's
+ # compilation checks. Let's temporarily override TMPDIR to /var/tmp which
+ # should work as expected
+ # See: https://discuss.lgtm.com/t/meson-fails-to-determine-sizes-of-basic-data-types/2639
+ - export TMPDIR=/var/tmp
+ index:
+ build_command:
+ - meson build
+ - ninja -C build
python:
python_setup:
version: 3