platform-matrix: count only jobs that build or test, and recognise nvfortran and LFortran

Offen
#598 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cmake, python
Bereich
tooling

Rechercherichtung

Start by reading platforms.COMPILERS, the compiler dimension in facts/conditions.py, and the CMake and Meson compiler id handling named in the issue. Reproduce the listed matrix errors with the small fixtures referenced in the issue, then trace how jobs are classified. Done when both projects' matrices include only build and test jobs and show nvfortran and LFortran as the correct compilers; the issue leaves the job filtering rule to decide.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

question

Problem

  • #520 drops jobs whose every step does nothing. amp-embedded-infra-lib still counts OSSF Scorecards, release-please, dependency-review, a PR-description check, Antora docs and linting as linux/gcc build jobs. toml-f's docs deploy counts as Fortran linux/gcc.
  • toml-f's nvidia-hpc and lfortran jobs show as "linux / gcc", giving "2 compilers". The compilers are missing from platforms.COMPILERS, the compiler dimension in facts/conditions.py, and the CMake and Meson compiler ids.

Decision needed

The job rule: a job must run a build or test command (strict, changes many projects' counts), or more known non-build actions are dropped (an extended list).

Done when

Both projects' matrices count only their build and test jobs, with the right compilers.

Split from #489. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
6 Std. 31 Min.
Gemergte PRs (30 T.)
238

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.