File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,8 @@ RUN rm -Rf opencv-${opencv_version}* \
291291# # Copy entry point
292292# ############################################################
293293COPY entrypoint_docker.sh /
294+ COPY entrypoint_docker_tests.sh /
294295WORKDIR /
295296RUN chmod +x /entrypoint_docker.sh
297+ RUN chmod +x /entrypoint_docker_tests.sh
296298ENTRYPOINT ["/entrypoint_docker.sh" ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ cd /work/tests/unit
5+
6+ echo " Create makefile"
7+ cmake -S sources \
8+ -B projects-Linux \
9+ -DDEBUG_WITH_GCC=OFF \
10+ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
11+ -DCMAKE_BUILD_TYPE=" Release" \
12+ -DBOOST_ROOT=" $YADOMS_DEPS /boost" \
13+ -DPOCO_ROOT=" $YADOMS_DEPS /poco" \
14+ -DPROTOBUF_ROOT=" $YADOMS_DEPS /protobuf" \
15+ -DOPENSSL_ROOT=" $YADOMS_DEPS /openssl" \
16+ -DPython3_ManualSetup=ON \
17+ -DPython3_INCLUDE_DIRS=" $YADOMS_DEPS /python-lib/include/python3.11" \
18+ -DPython3_LIBRARIES=" $YADOMS_DEPS /python-lib/lib/python3.11/config-3.11-x86_64-linux-gnu/libpython3.11.a" \
19+ -DPython3_EXECUTABLE=" /usr/bin/python3" \
20+ -DOPENCV_ROOT=" $YADOMS_DEPS /opencv" \
21+ -DGAMMU_ROOT=" $YADOMS_DEPS /gammu" \
22+ -DLIBUDEV_ROOT=" $YADOMS_DEPS /libudev"
23+
24+ echo " Build Yadoms Unit Tests"
25+ cmake --build projects-Linux \
26+ -j$( nproc)
You can’t perform that action at this time.
0 commit comments