Files
ConformalLabpp/.gitea/workflows/cpp-tests.yml
Tarik Moussa 5337a9e5a7 ci: use eulernest runner (Raspberry Pi, ARM64)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 14:51:45 +02:00

38 lines
796 B
YAML

name: C++ Tests
on:
push:
branches:
- main
- dev
- "claude/**"
pull_request:
jobs:
test:
runs-on: eulernest
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends \
cmake \
g++ \
git \
ca-certificates
- name: Configure (Release, tests enabled)
run: |
cmake -S code -B build \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=ON
- name: Build test binary
run: cmake --build build --target conformallab_tests -j$(nproc)
- name: Run tests
run: ctest --test-dir build -R conformallab_tests --output-on-failure