Skip to content

Commit 9720a01

Browse files
committed
try to fix coverity
1 parent aa5a194 commit 9720a01

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/coverity.workflow.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,23 @@ jobs:
1818
run: |
1919
set -e
2020
sudo apt-get update
21-
sudo apt-get install qt6-base-dev qmake6 libgl1-mesa-dev libarchive-dev libudev-dev libusb-1.0-0-dev
21+
sudo apt-get install qt6-base-dev qmake6 qtchooser libgl1-mesa-dev libarchive-dev libudev-dev libusb-1.0-0-dev
22+
23+
- name: set-up qt6
24+
run: |
25+
qtchooser -install qt6 $(which qmake6)
26+
sudo mv ~/.config/qtchooser/qt6.conf /usr/share/qtchooser/qt6.conf
27+
sudo mkdir -p /usr/lib/$(uname -p)-linux-gnu/qt-default/qtchooser
28+
sudo ln -n /usr/share/qtchooser/qt6.conf /usr/lib/$(uname -p)-linux-gnu/qt-default/qtchooser/default.conf
29+
echo "QT_SELECT=qt6" >> "$GITHUB_ENV"
2230
2331
- name: Prepare build
2432
run: |
2533
set -e
2634
cd gui/qt/capture ; /bin/bash ./get_libpng-apng.sh ; cd ../../../
2735
mkdir build
2836
cd build
29-
qmake ../gui/qt
37+
qmake6 ../gui/qt
3038
3139
- uses: vapier/coverity-scan-action@v1
3240
with:

0 commit comments

Comments
 (0)