ci: build standalone cmake target in smoke workflow for #50
All checks were successful
Smoke Test / smoke (pull_request) Successful in 30s

This commit is contained in:
Timmy Burn
2026-04-20 11:50:54 -04:00
parent 0248a85773
commit 483b3cdc68

View File

@@ -18,6 +18,11 @@ 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: Standalone CMake build and test
run: |
cmake -S . -B build -DTURBOQUANT_BUILD_TESTS=ON
cmake --build build
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