From 3ff52f02b253a403394c4e341298c3ddd9d1350a Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Tue, 21 Apr 2026 11:39:56 +0000 Subject: [PATCH] ci: build standalone CMake target and run ctest in smoke workflow (#50) --- .gitea/workflows/smoke.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/smoke.yml b/.gitea/workflows/smoke.yml index 00d198b..14dc149 100644 --- a/.gitea/workflows/smoke.yml +++ b/.gitea/workflows/smoke.yml @@ -18,6 +18,13 @@ jobs: find . -name '*.py' | grep -v llama-cpp-fork | xargs -r python3 -m py_compile find . -name '*.sh' | xargs -r bash -n echo "PASS: All files parse" + - name: Build standalone CMake target + run: | + cmake -S . -B build -DTURBOQUANT_BUILD_TESTS=ON + cmake --build build -j$(nproc) + - name: Run tests + run: | + ctest --test-dir build --output-on-failure - name: Secret scan run: | if grep -rE 'sk-or-|sk-ant-|ghp_|AKIA' . --include='*.yml' --include='*.py' --include='*.sh' 2>/dev/null | grep -v .gitea | grep -v llama-cpp-fork; then exit 1; fi