Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- name: Configure and build
run: |
if [ -f CMakeLists.txt ]; then
cmake -S . -B build && cmake --build build
ctest --test-dir build --output-on-failure || true
elif [ -f Makefile ]; then
make && make test || make check || true
else
echo "No standard build entrypoint; listing tree"
ls -la
fi