Commit graph

16 commits

Author SHA1 Message Date
Frantisek Sumsal 50d312039e Revert "lgtm: disable cpp/missing-return (again)"
This reverts commit 000096f4c6.

After a couple of manual tests LGTM finally appears to have the fix for
https://github.com/github/codeql/issues/8409, so let's reenable the
check for the last time.
2022-04-16 10:59:29 +00:00
Frantisek Sumsal 000096f4c6 lgtm: disable cpp/missing-return (again)
It looks like the fix for https://github.com/github/codeql/issues/8409
is not yet in production (and the respective query needs to be enabled
in both the main and the PR branch to get results for it, hence why it
passed in #22837).
2022-03-23 16:40:33 +00:00
Frantisek Sumsal 4da5e99a8f Revert "lgtm: disable cpp/missing-return"
This reverts commit 6f4bffb586.

Should be, hopefully, fixed by https://github.com/github/codeql/issues/8409.
2022-03-23 22:11:24 +09:00
Yu Watanabe 6f4bffb586 lgtm: disable cpp/missing-return
As it does not handle assert_not_reahed() gracefully.
2022-03-11 17:19:32 +09:00
Frantisek Sumsal 394159498d ci: add a missing SPDX header 2021-12-07 14:15:04 +01:00
Evgeny Vereshchagin 4997d1b965 ci: pin python dependencies and let Dependabot keep track of them 2021-12-07 09:08:26 +00:00
Frantisek Sumsal 38f36b9f34 lgtm: enable more (and potentially useful) queries
Not all available queries on LGTM are enabled by default, but some of
the excluded ones might come in handy, hence let's enable them
explicitly.
2021-12-02 17:22:49 +01:00
Frantisek Sumsal 8f876748d3 ci: bump meson version in LGTM
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
```
2021-07-28 11:26:10 +02:00
Zbigniew Jędrzejewski-Szmek 392ed18542 ci: drop py2 lxml, pull in jinja2 2021-05-19 10:25:26 +09:00
Frantisek Sumsal e31b6bd020 lgtm: drop the TMPDIR/meson workaround
The underlying issue seems to be fixed, so let's drop the now obsolete
workarounds.

Introduced in 65be7042a8
2020-03-03 20:27:42 +01:00
Frantisek Sumsal 7ad1f04398 lgtm: use the system version of meson
LGTM was upgraded to Ubuntu Eoan, so the meson there is pretty new.
Also, the pip command didn't work anyway, since it didn't attempt to
update the previously installed meson.
2020-02-10 19:49:42 +01:00
Frantisek Sumsal 65be7042a8 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
2020-02-10 18:44:55 +01:00
Lennart Poettering 0edd431e15 ci: add new dependencies to CI 2020-01-28 22:38:22 +01:00
Lennart Poettering e65f29b4c6 ci: add dependencies for repart + cryptsetup's pkcs#11 support
Let's make sure we can test systemd-repart properly

(And while we are at it, also test cryptsetup-pkcs#11)
2020-01-20 17:42:03 +01:00
Yu Watanabe fc1c09e1df lgtm: use python3 2018-12-10 03:07:17 +09:00
Yu Watanabe 55d651d8f6 LGTM: make LGTM.com use meson from pip 2018-07-24 01:37:47 +09:00