NeuroHTTP CI #18
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Build & Test (C/ASM NeuroHTTP) | |
| run-name: NeuroHTTP CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: 🧭 Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: ⚙️ Install build dependencies | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y build-essential clang make nasm | |
| - name: 🏗️ Build project | |
| run: | | |
| echo "🔧 Starting build..." | |
| make all | |
| echo "✅ Build completed successfully." | |
| - name: 🧪 Verify binary output | |
| run: | | |
| if [ -f "./bin/aionic" ]; then | |
| echo "✅ Binary built successfully!" | |
| ./bin/aionic --version 2>/dev/null || echo "ℹ️ Version info unavailable." | |
| else | |
| echo "❌ Binary not found!" | |
| exit 1 | |
| fi | |
| - name: 🧹 Clean temporary files (optional) | |
| run: | | |
| echo "🧽 Cleaning up temporary build files..." | |
| rm -rf logs/tmp 2>/dev/null || true | |
| - name: ✅ Finalize and mark success | |
| run: | | |
| echo "🎯 All steps executed successfully!" | |
| exit 0 | |
| # This ensures GitHub marks as green even if warnings exist | |
| continue-on-error: false |