Build unittest by default in host build
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
- Also update CI/CD to build host build
This commit is contained in:
parent
4db35e8641
commit
c83a177061
@ -298,7 +298,11 @@ target_include_directories(${WATCHDOG_NAME} PUBLIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
# unittests
|
# unittests
|
||||||
|
if(NOT TGT_BSP)
|
||||||
|
add_executable(${UNITTEST_NAME})
|
||||||
|
else()
|
||||||
add_executable(${UNITTEST_NAME} EXCLUDE_FROM_ALL)
|
add_executable(${UNITTEST_NAME} EXCLUDE_FROM_ALL)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(EIVE_ADD_ETL_LIB)
|
if(EIVE_ADD_ETL_LIB)
|
||||||
endif()
|
endif()
|
||||||
|
4
automation/Jenkinsfile
vendored
4
automation/Jenkinsfile
vendored
@ -24,11 +24,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Unittests') {
|
stage('Build Host and Tests') {
|
||||||
steps {
|
steps {
|
||||||
dir(BUILDDIR_LINUX) {
|
dir(BUILDDIR_LINUX) {
|
||||||
sh 'cmake ..'
|
sh 'cmake ..'
|
||||||
sh 'cmake --build . -t eive-unittest -j4'
|
sh 'cmake --build . -j4'
|
||||||
sh './eive-unittest'
|
sh './eive-unittest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user