Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/reusable-cpp-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,14 @@ jobs:
echo "LIT_BIN=$(which lit)" >> $GITHUB_ENV

- name: Configure CMake
run: cmake --preset coverage
env:
USE_SCCACHE_GHA: ${{ inputs.use-sccache-gha }}
run: |
args=()
if [[ "$USE_SCCACHE_GHA" == "true" ]]; then
args+=(-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache)
fi
cmake --preset coverage "${args[@]}"

- name: Build
run: cmake --build --preset coverage
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/reusable-cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,14 @@ jobs:
fi

- name: Generate compilation database
run: cmake -B build --preset lint
env:
USE_SCCACHE_GHA: ${{ inputs.build-project && inputs.use-sccache-gha }}
run: |
args=()
if [[ "$USE_SCCACHE_GHA" == "true" ]]; then
args+=(-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache)
fi
cmake -B build --preset lint "${args[@]}"

- name: Build
if: ${{ inputs.build-project }}
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ releases may include breaking changes.

## [Unreleased]

## [2.4.2] - 2026-09-12

### Fixed

- 馃悰 Configure `sccache` compiler launchers for C++ coverage and linter builds
([#472]) ([**@denialhaag**])

## [2.4.1] - 2026-09-11

### Fixed
Expand Down Expand Up @@ -525,7 +532,8 @@ _馃摎 Refer to the [GitHub Release Notes] for previous changelogs._

<!-- Version links -->

[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.4.1...HEAD
[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.4.2...HEAD
[2.4.2]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.2
[2.4.1]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.1
[2.4.0]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.0
[2.3.1]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.3.1
Expand Down Expand Up @@ -573,6 +581,7 @@ _馃摎 Refer to the [GitHub Release Notes] for previous changelogs._

<!-- PR links -->

[#472]: https://github.com/munich-quantum-toolkit/workflows/pull/472
[#470]: https://github.com/munich-quantum-toolkit/workflows/pull/470
[#463]: https://github.com/munich-quantum-toolkit/workflows/pull/463
[#462]: https://github.com/munich-quantum-toolkit/workflows/pull/462
Expand Down