Skip to content

🔧 Make Vulkan dependencies conditional for NO_VULKAN builds #15

🔧 Make Vulkan dependencies conditional for NO_VULKAN builds

🔧 Make Vulkan dependencies conditional for NO_VULKAN builds #15

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y build-essential cmake ninja-build libspdlog-dev
- name: Build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DNO_VULKAN=ON
make -j2
- name: Test
run: |
cd build
ls -la
if [ -f "hrm_system" ]; then
echo "✅ Build successful!"
else
echo "❌ Build failed - no executable found"
exit 1
fi