Commit fcff7b2
authored
Add GitHub Actions workflow for build validation (#39)
* Add GitHub Actions workflow for build validation
Runs HEMTT check and build on PRs and pushes to main to ensure:
- Code passes linting checks
- Project builds successfully
Build artifacts are uploaded for 7 days for testing.
* test: Add lint warning to test CI workflow
* revert: Remove test lint warning
* Fail CI on critical lint warnings (PW1, PW3, FNL)
- Update workflow to check for critical warnings that indicate code issues
- Suppress optimization suggestions (if_assign, select_parse_number) in project.toml
- Critical warnings: PW1 (macro redefinition), PW3 (macro padding), FNL (missing newline)
* test: Add PW3 warning to verify CI fails
* revert: Remove test PW3 warning
* Fail on all warnings except L-S29
L-S29 warnings are false positives for functions that are dynamically
defined at runtime via missionNamespace setVariable.1 parent aa95711 commit fcff7b2
2 files changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments