Run a complete CI-like workflow locally to catch issues before pushing:
Workflow
Check git status:
cd /Users/bri/dev/Trebuchet && git status --shortWarn if there are uncommitted changes.
Build in debug mode:
cd /Users/bri/dev/Trebuchet && swift build 2>&1 | tee /tmp/trebuchet-build-debug.logBuild in release mode:
cd /Users/bri/dev/Trebuchet && swift build --configuration release 2>&1 | tee /tmp/trebuchet-build-release.logRun all tests:
cd /Users/bri/dev/Trebuchet && swift test 2>&1 | tee /tmp/trebuchet-test.logCheck for warnings (excluding known unhandled file warnings):
grep -i "warning:" /tmp/trebuchet-build-release.log | grep -v "found.*file.*which are unhandled" || echo "No warnings found"
Report Summary
Provide a summary with:
- ✅/❌ Debug build status
- ✅/❌ Release build status
- ✅/❌ Test status (include pass/fail counts)
- Warning count
- Overall CI Status: PASS or FAIL
Notes
- Logs are saved to
/tmp/trebuchet-*.logfor detailed inspection - This does NOT run LocalStack AWS tests (use
/test-awsfor those) - Mirrors what would run in GitHub Actions CI
- Helps catch issues before creating PRs
Converted and distributed by TomeVault — claim your Tome and manage your conversions.