Skip to content

Update make.yml

Update make.yml #4

Workflow file for this run

name: Build & Test (C/ASM NeuroHTTP)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10 # يمنع التعليق الطويل في حالة خطأ
steps:
- name: 📦 Checkout repository
uses: actions/checkout@v4
- name: ⚙️ Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential clang make nasm
- name: 🧱 Build project (Make)
run: |
echo "🔧 Starting build..."
make all
echo "✅ Build completed!"
- name: 🧪 Run basic tests
run: |
if [ -f "./bin/aionic" ]; then
echo "✅ Binary built successfully:"
./bin/aionic --version || echo "ℹ️ Version flag not implemented yet."
else
echo "❌ Binary not found!"
exit 1
fi
- name: 🏁 Finish
run: echo "🎉 All build & test steps completed successfully!"