Run style check on build.

This commit is contained in:
Deukhoofd 2020-04-28 15:30:50 +02:00
parent c4b866cb38
commit 106c844fce
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 5 additions and 3 deletions

View File

@ -36,11 +36,13 @@ steps:
- build-release/bin/pkmnLibTests -s --durations yes --use-colour yes - build-release/bin/pkmnLibTests -s --durations yes --use-colour yes
- name: valgrind-release-linux - name: valgrind-release-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
volumes:
- name: conan-data
path: /root/.conan/data
commands: commands:
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 --suppressions=angelscript.supp build-release/bin/pkmnLibTests - valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 --suppressions=angelscript.supp build-release/bin/pkmnLibTests
- name: style-check
image: deukhoofd/linux64builder
failure: ignore
commands:
- run-clang-format.py -r src/ CInterface/ tests/
- name: test-release-windows - name: test-release-windows
image: deukhoofd/windowsbuilder image: deukhoofd/windowsbuilder
volumes: volumes: