Commit 6a92c5be authored by jannick.wolters's avatar jannick.wolters
Browse files

Updated CI to only run if certain files have changed

parent 347737d1
......@@ -14,10 +14,26 @@ build:
- cd code/build/debug
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=True -DCMAKE_EXPORT_COMPILE_COMMANDS=True ../../
- ninja
only:
changes:
- "code/include/**/*"
- "code/tests/**/*"
- "code/src/**/*"
- "code/CMakeLists.txt"
- "scripts/Dockerfile"
- ".gitmodules"
unit_tests:
stage: unit_tests
dependencies:
- build
script:
- ./code/bin/unit_tests
only:
changes:
- "code/include/**/*"
- "code/tests/**/*"
- "code/src/**/*"
- "code/CMakeLists.txt"
- "scripts/Dockerfile"
- ".gitmodules"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment