File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 2020 steps :
2121 - uses : actions/checkout@v4
2222 - run : sudo apt update
23- - run : sudo apt install -y apt-utils build-essential wget qt6-base-dev-tools qt6-declarative-dev qt6-multimedia-dev libqt6charts6-dev libqt6datavisualization6-dev libqt6svg6-dev libopencv-core-dev libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev libgl1-mesa-dev libglu1-mesa-dev
23+ - run : sudo apt install -y apt-utils build-essential wget qt6-base-dev-tools qt6-declarative-dev qt6-multimedia-dev libqt6charts6-dev libqt6datavisualization6-dev libqt6svg6-dev libopencv-core-dev libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev libgl1-mesa-dev libglu1-mesa-dev bear
2424 - run : wget -O qwt-${{env.QWT_version}}.zip https://sourceforge.net/projects/qwt/files/qwt/${{env.QWT_version}}/qwt-${{env.QWT_version}}.zip/download?use_mirror=pilotfiber
2525 - run : 7z x qwt-${{env.QWT_version}}.zip
2626 - run : cd qwt-${{env.QWT_version}} ; /usr/lib/qt6/bin/qmake
2929 - run : /usr/lib/qt6/bin/qmake
3030 - uses : ammaraskar/gcc-problem-matcher@master
3131 - run : echo "::add-matcher::.github/matcher/uic_matcher.json"
32- - run : make -j4
32+
33+ - name : capture compile_commands.json from build
34+ run : bear -- make -j4
3335 - run : echo "::remove-matcher owner=uic-problem-matcher::"
36+
37+ - name : Run C++ Linter (clang-tidy)
38+ if : strategy.job-index == 0 # run only for first OS of the matrix
39+ uses : cpp-linter/cpp-linter-action@v2
40+ with :
41+ style : ' ' # we don't want check from clang-format
42+ # TODO commented out for testing
43+ # lines-changed-only: 'diff' # check only lines changed in PR to not flood with warnings
44+ # TODO these are additional configs for testing the features. To be removed
45+ thread-comments : ' update'
46+ files-changed-only : false
You can’t perform that action at this time.
0 commit comments