Do not build tests for release
Some checks failed
Build ptprnt / build (push) Failing after 36s

This commit is contained in:
2025-10-19 12:33:17 +02:00
parent caa5b7a279
commit c94505dc0d
5 changed files with 33 additions and 14 deletions

View File

@@ -204,10 +204,10 @@ This is a modern C++20 rewrite of [ptouch-print](https://git.familie-radermacher
**Build script:**
```bash
# Release build
# Release build (tests disabled for faster builds)
./scripts/build.sh release
# Debug build
# Debug build (tests enabled)
./scripts/build.sh debug
# Debug with tests
@@ -223,6 +223,8 @@ This is a modern C++20 rewrite of [ptouch-print](https://git.familie-radermacher
./scripts/build.sh --help
```
**Note:** Tests are only built in debug mode to keep release builds fast and small. Release builds do not include test binaries or link against gtest/gmock.
**Running tests:**
```bash
# Using build script