提交 b2828dcc 编写于 作者: L Lars Glud

Updated Ci's to build the tests project.

上级 cf65f7fb
...@@ -51,7 +51,7 @@ jobs: ...@@ -51,7 +51,7 @@ jobs:
cmake --build . -- test_filters test_registration test_registration_api cmake --build . -- test_filters test_registration test_registration_api
cmake --build . -- -j2 cmake --build . -- -j2
displayName: 'Build Library' displayName: 'Build Library'
- script: cd $BUILD_DIR/test && ctest -V -T Test - script: cd $BUILD_DIR && cmake --build . -- tests
displayName: 'Run Unit Tests' displayName: 'Run Unit Tests'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
......
...@@ -41,8 +41,7 @@ jobs: ...@@ -41,8 +41,7 @@ jobs:
cmake --build . -- -j2 cmake --build . -- -j2
displayName: 'Build Library' displayName: 'Build Library'
- script: | - script: |
cd $BUILD_DIR/test cd $BUILD_DIR && cmake --build . -- tests
ctest -V -T Test
displayName: 'Run Unit Tests' displayName: 'Run Unit Tests'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
......
...@@ -42,8 +42,7 @@ jobs: ...@@ -42,8 +42,7 @@ jobs:
cmake --build . -- -j2 cmake --build . -- -j2
displayName: 'Build Library' displayName: 'Build Library'
- script: | - script: |
cd $BUILD_DIR/test cd $BUILD_DIR && cmake --build . -- tests
ctest -V -T Test
displayName: 'Run Unit Tests' displayName: 'Run Unit Tests'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
......
...@@ -37,7 +37,7 @@ jobs: ...@@ -37,7 +37,7 @@ jobs:
displayName: 'CMake Configuration' displayName: 'CMake Configuration'
- script: cd %BUILD_DIR% && cmake --build . --config %CONFIGURATION% - script: cd %BUILD_DIR% && cmake --build . --config %CONFIGURATION%
displayName: 'Build Library' displayName: 'Build Library'
- script: cd %BUILD_DIR%/test && ctest -C %CONFIGURATION% -V -T Test - script: cd %BUILD_DIR% && cmake --build . --target tests --config %CONFIGURATION%
displayName: 'Run Unit Tests' displayName: 'Run Unit Tests'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册