Initial commit: project scaffold and initial subsystems #1
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential cmake ninja-build clang | |
| - name: Configure CMake | |
| run: | | |
| cmake -S . -B build -G Ninja | |
| - name: Build | |
| run: | | |
| cmake --build build --config Release | |
| - name: Run integration tests | |
| run: | | |
| chmod +x tests/api_status_test.sh | |
| ./tests/api_status_test.sh | |
| - name: Run unit tests | |
| run: | | |
| # Placeholder for test runner | |
| echo "No tests yet" |