Skip to content

Commit

Permalink
Separate Qt6 installation
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   .github/workflows/developer-guideline-check.yml
  • Loading branch information
franziska-wegner committed Dec 28, 2023
1 parent bba32ec commit 5e1932c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/developer-guideline-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:

# Optionally generate compile_commands.json

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
cache: 'true'
cache-key-prefix: ${{ runner.os }}-Qt-Cache-${{ env.QT_VERSION }}
dir: ${{ github.workspace }}/Qt

- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
Expand All @@ -38,8 +46,8 @@ jobs:
id: review
with:
clang_tidy_checks: -*,performance-*,readability-*,bugprone-*,clang-analyzer-*,cppcoreguidelines-*,mpi-*,misc-*
# List of packages to install
apt_packages: qt6
# List of packages to install, does not work
# apt_packages: qt6
# CMake command to run in order to generate compile_commands.json
cmake_command: cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_EXPORT_COMPILE_COMMANDS=on
Expand Down

0 comments on commit 5e1932c

Please sign in to comment.