diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae5f2f9597e2b144b3316dd8c011db5d89b90e8f..d8b316d6189a48f1530a9d4de2e53613e30a7413 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -181,6 +181,16 @@ website: - website +codestyle: + stage: prebuild + script: + - mkdir build + - cd build + - ../autogen.sh || (cat config.log && exit 1) + - $MAKE -j $(getconf _NPROCESSORS_ONLN) syntax-check + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + + # This artifact published by this job is downloaded to push to Weblate # for translation usage: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=potfile