mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-28 23:01:09 +00:00
fix: ci errors fixed (#7)
* patch: trigger release * fix: ci fix * fix: ci fix
This commit is contained in:
@@ -38,6 +38,7 @@ GitHub Actions workflows for CI, release automation, and policy checks.
|
||||
- Prefer minimal, surgical edits; avoid large workflow rewrites unless requested.
|
||||
- Reusable workflows should declare explicit `workflow_call` inputs for required context (e.g., version, merge SHA).
|
||||
- Sonar coverage steps that use `gcovr` must exclude third-party build trees at discovery time with `--exclude-directories` (for example `build/_deps`) so gcov does not process dependency `.gcda` files.
|
||||
- For Linux Sonar coverage jobs, keep compiler and gcov toolchain aligned; because `cmake/Toolchain.cmake` prefers Clang by default, set `-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++` explicitly in the coverage configure step when using gcovr default `gcov`.
|
||||
- Keep `permissions` least-privilege:
|
||||
- reusable build workflows: `contents: read`
|
||||
- release/tag orchestrator: `contents: write`
|
||||
|
||||
@@ -35,6 +35,8 @@ jobs:
|
||||
- name: Configure with coverage instrumentation
|
||||
run: >
|
||||
cmake -S . -B build -G Ninja
|
||||
-DCMAKE_C_COMPILER=gcc
|
||||
-DCMAKE_CXX_COMPILER=g++
|
||||
-DCCM_BUILD_TESTS=ON
|
||||
-DCCM_USE_SYSTEM_WX=ON
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
@@ -35,6 +35,8 @@ jobs:
|
||||
- name: Configure with coverage instrumentation
|
||||
run: >
|
||||
cmake -S . -B build -G Ninja
|
||||
-DCMAKE_C_COMPILER=gcc
|
||||
-DCMAKE_CXX_COMPILER=g++
|
||||
-DCCM_BUILD_TESTS=ON
|
||||
-DCCM_USE_SYSTEM_WX=ON
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
Reference in New Issue
Block a user