Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
6a92c5be
Commit
6a92c5be
authored
Apr 01, 2020
by
jannick.wolters
Browse files
Updated CI to only run if certain files have changed
parent
347737d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6a92c5be
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment