ci: Include pre-build style check

This commit is contained in:
Dorota Czaplejewicz
2021-12-08 19:42:58 +00:00
parent f986f14220
commit 7a07f1616d
5 changed files with 38 additions and 3 deletions

View File

@ -93,7 +93,17 @@ test:
- apt-get -y build-dep .
- apt-get -y install clang-tidy
- ninja -C _build test
- tools/style-check _build
- tools/style-check_build _build
except:
variables:
- $PKG_ONLY == "1"
test_style:
stage: test
needs: []
script:
- apt-get -y build-dep .
- tools/style-check_source
except:
variables:
- $PKG_ONLY == "1"