From 5fbd1b20a55d5cc3671e23e010a383e6cb0b62a2 Mon Sep 17 00:00:00 2001 From: Tarik Moussa Date: Sun, 31 May 2026 01:16:45 +0200 Subject: [PATCH] ci: add /ci-all trigger to run all jobs at once /ci-all --- .gitea/workflows/cpp-tests.yml | 12 +++++++++--- .gitea/workflows/doc-build.yaml | 3 ++- .gitea/workflows/markdown-links.yml | 3 ++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/cpp-tests.yml b/.gitea/workflows/cpp-tests.yml index 95e851c..4bc4977 100644 --- a/.gitea/workflows/cpp-tests.yml +++ b/.gitea/workflows/cpp-tests.yml @@ -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 diff --git a/.gitea/workflows/doc-build.yaml b/.gitea/workflows/doc-build.yaml index d9e8387..b66cfaa 100644 --- a/.gitea/workflows/doc-build.yaml +++ b/.gitea/workflows/doc-build.yaml @@ -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 diff --git a/.gitea/workflows/markdown-links.yml b/.gitea/workflows/markdown-links.yml index c7e6192..8bce97f 100644 --- a/.gitea/workflows/markdown-links.yml +++ b/.gitea/workflows/markdown-links.yml @@ -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