Skip to content
Snippets Groups Projects
Commit 262bb791 authored by Ramon Nou's avatar Ramon Nou
Browse files

Merge branch '140-unit-tests-not-found' into 'master'

Resolve "Unit tests not found"

Closes #140

See merge request !79
parents 838285a9 8e27acc3
No related branches found
No related tags found
1 merge request!79Resolve "Unit tests not found"
Pipeline #1491 passed
......@@ -68,9 +68,13 @@ compile GekkoFS:
-DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
${CI_PROJECT_DIR}
- make -j$(nproc) install
# the following commands are intended to reduce artifact size
- rm -rf ${BUILD_PATH}/_deps
- find ${BUILD_PATH} -name "*.o" -delete
artifacts:
paths:
- ${INSTALL_PATH}
- ${BUILD_PATH}
- ${INSTALL_PATH}
compile tests:
stage: build
......@@ -98,6 +102,7 @@ integration tests:
unit:
stage: test
script:
- cd ${BUILD_PATH}
- ctest -j $(nproc) -L unit::all
artifacts:
when: on_failure
......
......@@ -53,6 +53,6 @@ catch_discover_tests(tests
if(GKFS_INSTALL_TESTS)
install(TARGETS tests
DESTINATION ${CMAKE_INSTALL_BINDIR}
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gkfs/tests/unit
)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment