mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 00:54:34 -04:00
1.4 KiB
1.4 KiB
applyTo, excludeAgent
| applyTo | excludeAgent |
|---|---|
| **/*.yml | code-review |
CI Workflow Rules
- Prefer explicit Gradle task paths (
androidApp:lintFdroidDebug) over shorthand (lintDebug). - CI uses
.github/ci-gradle.properties— don't assume localgradle.propertiesvalues. - CI passes
-Pci=trueto enable full processor usage viamaxParallelForks. - Use
fetch-depth: 0only where needed (spotless ratcheting, version code). Usefetch-depth: 1otherwise. - Runner labels are named by tier here; the workflows carry the versions.
- Desktop build matrix:
macos-latest,windows-latest, and Ubuntu x64 and arm64;build-desktopinreusable-check.ymllists the labels. - Lightweight jobs off the required-check path (labelers, run-cancellers, changelog/release
cleanup): use
ubuntu-slim. It is container-backed and starts in seconds, but it is single-CPU, unprivileged, x64-only, and its 15-minute job cap is a hard platform limit. It fits API/script work (gh,jq,git, stdlibpython3,github-script) and nothing that needssudo,apt-get, Docker, a mounted filesystem, or a long full-history clone. - Lightweight jobs that break any of those constraints, and the required
Check Workflow Statusgates, which must not queue on slim's separate pool: use the pinned Ubuntu LTS arm label. - Gradle-heavy jobs: use the pinned Ubuntu LTS x64 label that
reusable-check.ymluses.