mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove format checking from Linux job, clang-format version installed doesn't work well with our current setup
This commit is contained in:
parent
dad21eb369
commit
099da72348
@ -16,13 +16,7 @@ jobs:
|
||||
sudo apt-get install -y --allow-unauthenticated qt-default qt5-qmake \
|
||||
qtbase5-dev qtmultimedia5-dev libpoppler-qt5-dev qtscript5-dev \
|
||||
libqt5opengl5-dev libglu1-mesa-dev libunarr-dev qtdeclarative5-dev
|
||||
sudo apt-get install -y --allow-unauthenticated clang-format
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
cd $(Build.SourcesDirectory)
|
||||
find . \( -name '*.h' -or -name '*.cpp' -or -name '*.c' -or -name '*.mm' -or -name '*.m' \) -print0 | xargs -0 clang-format -style=file -i
|
||||
if [ "$(git diff $(Build.SourceVersion))" != "" ]; then exit 1; fi
|
||||
displayName: 'Check format'
|
||||
- script: |
|
||||
qmake CONFIG+="unarr"
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user