pass build config to CMake explicitly
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
13e2e68b33
commit
ce748cb90b
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ build_script:
|
||||||
- cd build
|
- cd build
|
||||||
- conan install -s arch=%ARCH% -s build_type=%CONFIGURATION% ..
|
- 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% -G "%GENERATOR%" ../src
|
||||||
- cmake --build .
|
- cmake --build . --config %CONFIGURATION%
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- ctest --test-action test --build-config %CONFIGURATION%
|
- ctest --test-action test --build-config %CONFIGURATION%
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue