chore: add CMake test infrastructure and placeholder unit test files for future coverage

This commit is contained in:
2025-11-28 05:41:42 +00:00
parent 4afdcf567b
commit 53a6179ede
38 changed files with 5192 additions and 21 deletions
+13
View File
@@ -35,6 +35,12 @@ jobs:
cmake -DCMAKE_C_COMPILER=${{ matrix.compiler }} ..
make
- name: Run unit tests
run: |
cd build
make run_tests
./tests/run_tests
build-macos:
runs-on: macos-latest
steps:
@@ -52,6 +58,13 @@ jobs:
./nwedav --version
./webdavctl --help
- name: Build and run tests with CMake
run: |
mkdir -p build && cd build
cmake ..
make run_tests
./tests/run_tests
static-analysis:
runs-on: ubuntu-latest
steps: