diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2020-02-11 19:15:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 19:15:48 +0300 |
commit | 4ac78b1a37c5d3953f5d34aa40439dd1a68e536a (patch) | |
tree | 1a7255fa18cf39b4393a22e2ffcc382ac6fc620c | |
parent | c09f335744c9359f1830e3f249cbb307b225adac (diff) | |
parent | 7ad1f043984386a8bb56a4a556942dcb02b1fd84 (diff) | |
download | systemd-4ac78b1a37c5d3953f5d34aa40439dd1a68e536a.tar.gz |
Merge pull request #14849 from mrc0mmand/lgtm-override-TMPDIR
lgtm: set TMPDIR to /var/tmp
-rw-r--r-- | .lgtm.yml | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -1,17 +1,24 @@ +--- +# vi: ts=2 sw=2 et: + extraction: cpp: prepare: packages: - - python3-pip - - python3-setuptools - - python3-wheel - libpwquality-dev - libfdisk-dev - libp11-kit-dev - libssl-dev - 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 |