ci: add /ci-all trigger to run all jobs at once /ci-all
Some checks failed
C++ Tests / test-fast (pull_request) Successful in 2m23s
C++ Tests / quality-gates (pull_request) Has been skipped
C++ Tests / test-fast (push) Successful in 2m16s
C++ Tests / quality-gates (push) Failing after 2m25s
API Docs / doc-build (push) Successful in 59s
Markdown link check / check (push) Successful in 49s
C++ Tests / test-cgal (pull_request) Has been skipped
C++ Tests / test-cgal (push) Failing after 21m12s
Some checks failed
C++ Tests / test-fast (pull_request) Successful in 2m23s
C++ Tests / quality-gates (pull_request) Has been skipped
C++ Tests / test-fast (push) Successful in 2m16s
C++ Tests / quality-gates (push) Failing after 2m25s
API Docs / doc-build (push) Successful in 59s
Markdown link check / check (push) Successful in 49s
C++ Tests / test-cgal (pull_request) Has been skipped
C++ Tests / test-cgal (push) Failing after 21m12s
This commit is contained in:
@@ -3,9 +3,11 @@ name: C++ Tests
|
||||
# Trigger keywords in commit message (checked via head_commit.message):
|
||||
# /test-cgal — full CGAL test suite (277 tests, ~5 min build)
|
||||
# /quality-gates — license, codespell, shellcheck, CGAL conventions
|
||||
# /ci-all — all of the above + /docs + /links (across all workflows)
|
||||
#
|
||||
# Example commit:
|
||||
# Examples:
|
||||
# git commit -m "fix: correct angle formula /test-cgal"
|
||||
# git commit -m "release prep /ci-all"
|
||||
#
|
||||
# test-fast always runs on every push — it is fast (< 5 s) and cheap.
|
||||
|
||||
@@ -74,7 +76,9 @@ jobs:
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
test-cgal:
|
||||
needs: test-fast
|
||||
if: contains(github.event.head_commit.message, '/test-cgal')
|
||||
if: |
|
||||
contains(github.event.head_commit.message, '/test-cgal') ||
|
||||
contains(github.event.head_commit.message, '/ci-all')
|
||||
runs-on: eulernest
|
||||
container:
|
||||
image: git.eulernest.eu/conformallab/ci-cpp:latest
|
||||
@@ -129,7 +133,9 @@ jobs:
|
||||
# Cheap (~30 s): license headers, CGAL conventions, codespell, shellcheck.
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
quality-gates:
|
||||
if: contains(github.event.head_commit.message, '/quality-gates')
|
||||
if: |
|
||||
contains(github.event.head_commit.message, '/quality-gates') ||
|
||||
contains(github.event.head_commit.message, '/ci-all')
|
||||
runs-on: eulernest
|
||||
container:
|
||||
image: git.eulernest.eu/conformallab/ci-cpp:latest
|
||||
|
||||
@@ -27,7 +27,8 @@ jobs:
|
||||
doc-build:
|
||||
if: |
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
contains(github.event.head_commit.message, '/docs')
|
||||
contains(github.event.head_commit.message, '/docs') ||
|
||||
contains(github.event.head_commit.message, '/ci-all')
|
||||
runs-on: eulernest
|
||||
container:
|
||||
image: git.eulernest.eu/conformallab/ci-cpp:latest
|
||||
|
||||
@@ -27,7 +27,8 @@ jobs:
|
||||
if: |
|
||||
github.event_name == 'schedule' ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
contains(github.event.head_commit.message, '/links')
|
||||
contains(github.event.head_commit.message, '/links') ||
|
||||
contains(github.event.head_commit.message, '/ci-all')
|
||||
runs-on: eulernest
|
||||
container:
|
||||
image: git.eulernest.eu/conformallab/ci-cpp:latest
|
||||
|
||||
Reference in New Issue
Block a user