Added test case and setting Test configuration
This commit is contained in:
1 parent
f815271486
commit
a86f9b5bac
48 files changed
+423
-168
No files matched your search
@@ -1,29 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Run CMake configuration and build inside Docker
|
||||
# Run CMake configuration and build inside Docker.
|
||||
# Utilise l'image legatus-build:26.04 (dependances pre-installees).
|
||||
# Pour la (re)construire :
|
||||
# docker build -f Dockerfile.build -t legatus-build:26.04 .
|
||||
docker run --rm \
|
||||
-v /home/torsten/swy/sandbox:/workspace \
|
||||
-v /home/torsten/swy/sandbox/rti_license.dat:/workspace/rti_license.dat \
|
||||
-w /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus \
|
||||
ubuntu:26.04 bash -c "
|
||||
apt-get update -qq && \
|
||||
apt-get install -y -qq \
|
||||
build-essential \
|
||||
cmake \
|
||||
libkf6texttemplate-dev \
|
||||
libqt6core6 \
|
||||
libqt6gui6 \
|
||||
libqt6widgets6 \
|
||||
qt6-base-dev \
|
||||
qt6-tools-dev-tools \
|
||||
qt6-tools-dev \
|
||||
qt6-l10n-tools \
|
||||
libgtest-dev \
|
||||
git > /dev/null 2>&1
|
||||
|
||||
# Set RTI license and Qt6 path
|
||||
-v /home/nkana/repo/qt-migration-legatus:/workspace \
|
||||
-v /home/nkana/repo/qt-migration-legatus/qt6-after/qt6-migrated-legatus/rti_license.dat:/workspace/rti_license.dat \
|
||||
-v /home/nkana/repo/external/rti_connext_dds-7.7.0:/opt/rti_connext_dds-7.7.0:ro \
|
||||
-w /workspace/qt6-after/qt6-migrated-legatus \
|
||||
legatus-build:26.04 bash -c "
|
||||
# Set RTI license, DDS path, and Qt6 path
|
||||
# (deja definis dans l'image, repris ici pour rester explicite)
|
||||
export RTI_LICENSE_FILE=/workspace/rti_license.dat
|
||||
export DDS_PATH=/opt/rti_connext_dds-7.7.0
|
||||
export CMAKE_PREFIX_PATH=/opt/Qt/6.10.2/gcc_64
|
||||
|
||||
# Clean and configure
|
||||
@@ -36,5 +27,5 @@ docker run --rm \
|
||||
-DBUILD_ARCGIS=OFF \
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
|
||||
make -j8 ddscore ddsftccore ddsQoS ddsconnector ddsfts 2>&1 | tee build.log
|
||||
make -j8 ddscore ddsftccore ddsQoS ddsconnector ddsfts
|
||||
"
|
||||
Reference in new issue
Block a user