Skip to content

Add GitHub Actions workflow for build validation#39

Merged
fank merged 7 commits intomainfrom
ci/add-build-workflow
Feb 3, 2026
Merged

Add GitHub Actions workflow for build validation#39
fank merged 7 commits intomainfrom
ci/add-build-workflow

Conversation

@fank
Copy link
Member

@fank fank commented Feb 3, 2026

Summary

  • Add GitHub Actions workflow that runs on PRs and pushes to main
  • Runs hemtt check to validate code and lint
  • Runs hemtt build to ensure the project compiles
  • Uploads build artifacts for 7 days

How it works

The workflow will:

  1. Pass if there are no errors (warnings are allowed)
  2. Fail if there are actual build/lint errors

This ensures PRs are validated before merging.

Test plan

  • Verify workflow runs on this PR
  • Check that build artifacts are uploaded

fank added 7 commits February 3, 2026 19:51
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.
- 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)
L-S29 warnings are false positives for functions that are dynamically
defined at runtime via missionNamespace setVariable.
@fank fank merged commit fcff7b2 into main Feb 3, 2026
1 check passed
@fank fank deleted the ci/add-build-workflow branch February 3, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant