Fix "make install" on Unix and add tests for it to CI scripts
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
58e91c4304
commit
29f0ef6e17
3 changed files with 28 additions and 12 deletions
|
@ -36,9 +36,14 @@ build_script:
|
|||
- mkdir build
|
||||
- cd build
|
||||
- conan install -s arch=%ARCH% -s build_type=%CONFIGURATION% ..
|
||||
- cmake -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%GENERATOR%" ../src
|
||||
- cmake -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=%CD%/install -G "%GENERATOR%" ../src
|
||||
- cmake --build . --config %CONFIGURATION% --target install
|
||||
- cd install/share/CycloneDDS/examples/helloworld
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%GENERATOR%" ..
|
||||
- cmake --build . --config %CONFIGURATION%
|
||||
- cd ../../../../../..
|
||||
|
||||
test_script:
|
||||
- ctest --test-action test --build-config %CONFIGURATION%
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue