Skip to content

Filter parachute/ejection seat kill events and fix dead parachute tra… #31

Filter parachute/ejection seat kill events and fix dead parachute tra…

Filter parachute/ejection seat kill events and fix dead parachute tra… #31

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Run HEMTT check
run: |
# Run hemtt check and capture output
OUTPUT=$(hemtt check 2>&1) || true
echo "$OUTPUT"
# Filter out L-S29 (false positives for dynamically defined functions)
# and fail if any other warnings remain
WARNINGS=$(echo "$OUTPUT" | grep -E "warning\[" | grep -v "L-S29" || true)
if [ -n "$WARNINGS" ]; then
echo ""
echo "::error::Lint warnings found:"
echo "$WARNINGS"
exit 1
fi
- name: Run HEMTT build
run: hemtt build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ocap-build
path: .hemttout/build/
retention-days: 7