Migrate Qt5/C++11 app to Qt6/C++23 and stabilize CI/pipeline setup #1

Merged
twi-devel merged 18 commits from bugfix/ci-pipeline-commissioning into main 2026-08-13 08:49:53 +00:00
3 changed files with 32 additions and 4 deletions
Showing only changes of commit bf51ecab03 - Show all commits

No files matched your search

+32 -4
View File
@@ -196,11 +196,39 @@ clang-format -i main.cpp tests/test_main.cpp
python3 ci/check_pr_policies.py
```
### Projekt lokal bauen
## Projekt lokal im CI-Container bauen
Zuerst das lokale CI-Image bauen:
```bash
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
ctest --test-dir build --output-on-failure
docker build -t lifemaps/ci-cpp:latest -f Dockerfile.ci .
```
Danach das Projekt im Container bauen und testen:
```bash
docker run --rm -it \
-v "$PWD:/workspace" \
-w /workspace \
lifemaps/ci-cpp:latest \
bash -lc '
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug &&
cmake --build build --parallel &&
ctest --test-dir build --output-on-failure
'
```
Damit wird dieselbe Toolchain verwendet wie in der Jenkins-CI.
## Policy-Check lokal im CI-Container ausführen
```bash
docker run --rm -it \
-v "$PWD:/workspace" \
-w /workspace \
lifemaps/ci-cpp:latest \
bash -lc 'python3 ci/check_pr_policies.py'
```
---
File renamed without changes.
File renamed without changes.