fix(ci): cpp-tests.yml bereinigt — WITH_CGAL_TESTS=ON in test-fast, Boost-Kommentar aktuell
- test-fast konfiguriert jetzt mit -DWITH_CGAL_TESTS=ON (Boost im Image) - Kommentar aktualisiert (Boost kein Runtime-Install mehr nötig) - Konsistenz zwischen test-fast und test-cgal hergestellt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,8 @@ on:
|
|||||||
# ─────────────────────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────────────────────
|
||||||
# Job 1 — test-fast
|
# Job 1 — test-fast
|
||||||
# Pure-math tests (Clausen, ImLi₂, Hyper-ideal Geometrie).
|
# Pure-math tests (Clausen, ImLi₂, Hyper-ideal Geometrie).
|
||||||
# Kein CGAL, kein Boost. Läuft auf ALLEN Branches in < 1 s.
|
# Konfiguriert mit -DWITH_CGAL_TESTS=ON (Boost im Image), baut aber nur
|
||||||
|
# conformallab_tests. Läuft auf ALLEN Branches in < 1 min.
|
||||||
# ─────────────────────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────────────────────
|
||||||
jobs:
|
jobs:
|
||||||
test-fast:
|
test-fast:
|
||||||
@@ -24,7 +25,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Configure (tests-only)
|
- name: Configure (tests-only)
|
||||||
run: cmake -S code -B build -DCMAKE_BUILD_TYPE=Release
|
run: cmake -S code -B build -DCMAKE_BUILD_TYPE=Release -DWITH_CGAL_TESTS=ON
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --target conformallab_tests -j$(nproc)
|
run: cmake --build build --target conformallab_tests -j$(nproc)
|
||||||
@@ -55,10 +56,7 @@ jobs:
|
|||||||
# Verwendet -DWITH_CGAL_TESTS=ON (nicht -DWITH_CGAL=ON), damit kein
|
# Verwendet -DWITH_CGAL_TESTS=ON (nicht -DWITH_CGAL=ON), damit kein
|
||||||
# Viewer/GLFW gebaut wird — der CI-Container hat kein wayland-scanner.
|
# Viewer/GLFW gebaut wird — der CI-Container hat kein wayland-scanner.
|
||||||
#
|
#
|
||||||
# Boost-Install-Schritt: solange das Docker-Image noch kein libboost-dev
|
# Boost (libboost-dev) ist seit Image-Rebuild bereits im Container.
|
||||||
# enthält, wird es hier zur Laufzeit nachinstalliert (~15 s).
|
|
||||||
# Nach dem nächsten Image-Rebuild (Dockerfile bereits aktualisiert) wird
|
|
||||||
# dieser Schritt zum No-Op.
|
|
||||||
# ─────────────────────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────────────────────
|
||||||
test-cgal:
|
test-cgal:
|
||||||
needs: test-fast
|
needs: test-fast
|
||||||
|
|||||||
Reference in New Issue
Block a user