]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: bump meson version in LGTM
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 28 Jul 2021 08:26:29 +0000 (10:26 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 28 Jul 2021 09:26:10 +0000 (11:26 +0200)
Otherwise LGTM fails to detect the build system:

```
[2021-07-27 23:18:47] [build-stdout] The Meson build system
[2021-07-27 23:18:47] [build-stdout] Version: 0.51.2
[2021-07-27 23:18:47] [build-stdout] Source dir: /opt/src
[2021-07-27 23:18:47] [build-stdout] Build dir: /opt/src/_lgtm_build_dir
[2021-07-27 23:18:47] [build-stdout] Build type: native build
[2021-07-27 23:18:47] [build-stdout] meson.build:3:0: ERROR: Meson version is 0.51.2 but project requires >= 0.53.2
[2021-07-27 23:18:47] [build-stdout] A full log can be found at /opt/src/_lgtm_build_dir/meson-logs/meson-log.txt
```

.lgtm.yml

index 93f8b1c0f471a9e642595a3ee869a5be67c22343..83ec5ecf116efda85d854260f44deec96e1cddbc 100644 (file)
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -10,6 +10,9 @@ extraction:
         - libp11-kit-dev
         - libssl-dev
         - python3-jinja2
+    after_prepare:
+      - pip3 install meson==0.53.2
+      - export PATH="/opt/work/.local/bin:$PATH"
   python:
     python_setup:
       version: 3