forked from mne-tools/mne-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (55 loc) · 2.58 KB
/
pull-request.yml
File metadata and controls
65 lines (55 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# ═══════════════════════════════════════════════════════════════════════════
# Pull Request Pipeline
# ═══════════════════════════════════════════════════════════════════════════
#
# Triggered on pull requests targeting `staging` or `main`.
#
# This is the FEATURE BRANCH pipeline:
# • Verifies the project builds across all platforms
# • Tests min + max supported Qt versions
# • Runs the full test suite (without coverage — that's done on staging)
# • No deployments, no releases
#
# Branch model: Feature → Staging → Main
# ═══════════════════════════════════════════════════════════════════════════
name: Pull Request
on:
pull_request:
branches:
- staging
- main
# Cancel superseded runs for the same PR
concurrency:
group: pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
# ── Build compatibility: minimum supported Qt ────────────────────────────
BuildMinQt:
uses: ./.github/workflows/_reusable-build.yml
with:
qt_version: '6.10.0'
# ── Build compatibility: maximum supported Qt ────────────────────────────
BuildMaxQt:
uses: ./.github/workflows/_reusable-build.yml
with:
qt_version: '6.10.2'
# ── Tests (no coverage collection) ──────────────────────────────────────
Tests:
uses: ./.github/workflows/_reusable-tests.yml
with:
with_code_coverage: false
upload_codecov: false
# ── Doxygen build check ─────────────────────────────────────────────────
Doxygen:
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Doxygen and Graphviz
run: |
sudo apt-get update -qq
sudo apt-get install -qq qttools5-dev-tools doxygen graphviz
- name: Run Doxygen (build check only — no deploy)
run: |
cd doc/doxygen
doxygen mne-cpp_doxyfile