Skip to content

Commit 125de14

Browse files
committed
.gitlab-ci.yml: Install runtime dependencies for the test execution
1 parent a4821da commit 125de14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ build release test gcc:
115115
- .container_image_no_nightly_run_template
116116
stage: "🏗️ Build Stage 1"
117117
script:
118+
- dnf install -y chrony dbus-daemon systemd
118119
- rm -rf $BUILD_WORKSPACE # Ensure we start clean
119120
- cmake . -B $BUILD_WORKSPACE -DAPS_CHRONY_DBUS_SERVICE_FETCH_CONTENT_USE_GITLAB_CI_TOKEN=ON -DCMAKE_BUILD_TYPE=Release -DAPS_CHRONY_DBUS_SERVICE_BUILD_TESTS=ON
120121
- cmake --build $BUILD_WORKSPACE --parallel $PARALLEL
@@ -185,6 +186,7 @@ build debug all sanitizers test:
185186
- .container_image_no_nightly_run_template
186187
stage: "🚧 Build Stage 2"
187188
script:
189+
- dnf install -y chrony dbus-daemon systemd
188190
- rm -rf $BUILD_WORKSPACE # Ensure we start clean
189191
- cmake . -B $BUILD_WORKSPACE -DAPS_CHRONY_DBUS_SERVICE_FETCH_CONTENT_USE_GITLAB_CI_TOKEN=ON -DCMAKE_BUILD_TYPE=Debug -DAPS_CHRONY_DBUS_SERVICE_BUILD_TESTS=ON -DAPS_CHRONY_DBUS_SERVICE_DEBUG_SANITIZER_FLAG_ALL=ON
190192
- cmake --build $BUILD_WORKSPACE --parallel $PARALLEL
@@ -203,6 +205,7 @@ build debug thread sanitizers test:
203205
- .container_image_no_nightly_run_template
204206
stage: "🚧 Build Stage 2"
205207
script:
208+
- dnf install -y chrony dbus-daemon systemd
206209
- rm -rf $BUILD_WORKSPACE # Ensure we start clean
207210
- cmake . -B $BUILD_WORKSPACE -DAPS_CHRONY_DBUS_SERVICE_FETCH_CONTENT_USE_GITLAB_CI_TOKEN=ON -DCMAKE_BUILD_TYPE=Debug -DAPS_CHRONY_DBUS_SERVICE_BUILD_TESTS=ON -DAPS_CHRONY_DBUS_SERVICE_DEBUG_SANITIZER_FLAG_THREAD=ON
208211
- cmake --build $BUILD_WORKSPACE --parallel $PARALLEL

0 commit comments

Comments
 (0)