From a644bde444d8db90c1b08688adba57ebd71e11aa Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 2 Apr 2024 13:52:32 +0200 Subject: [PATCH] disabled installation of Qt dependencies in CI when we only require the headers --- .github/workflows/clang-tidy.yml | 4 ++-- .github/workflows/selfcheck.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 567d435bae88..523510817690 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -33,8 +33,7 @@ jobs: sudo apt-get update sudo apt-get install -y cmake make sudo apt-get install -y libpcre3-dev - sudo apt-get install -y libffi7 # work around missing dependency for Qt install step - sudo apt-get install -y libcups2-dev # required for Qt6PrintSupport in CMake since Qt 6.7.3 + sudo apt-get install -y libgl-dev # fixes missing dependency for Qt in CMake - name: Install clang run: | @@ -49,6 +48,7 @@ jobs: with: version: ${{ env.QT_VERSION }} modules: 'qtcharts' + install-deps: false cache: true - name: Verify clang-tidy configuration diff --git a/.github/workflows/selfcheck.yml b/.github/workflows/selfcheck.yml index fc1fccb98dc2..bd12c743feb4 100644 --- a/.github/workflows/selfcheck.yml +++ b/.github/workflows/selfcheck.yml @@ -39,13 +39,14 @@ jobs: sudo apt-get install clang-14 sudo apt-get install libboost-container-dev sudo apt-get install valgrind - sudo apt-get install -y libcups2-dev # required for Qt6PrintSupport in CMake since Qt 6.7.3 + sudo apt-get install -y libgl-dev # fixes missing dependency for Qt in CMake - name: Install Qt ${{ env.QT_VERSION }} uses: jurplel/install-qt-action@v4 with: version: ${{ env.QT_VERSION }} modules: 'qtcharts' + install-deps: false cache: true # TODO: cache this - perform same build as for the other self check