Loading .gitlab-ci.yml +6 −1 Original line number Diff line number Diff line Loading @@ -68,8 +68,12 @@ 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: - ${BUILD_PATH} - ${INSTALL_PATH} compile tests: Loading Loading @@ -98,6 +102,7 @@ integration tests: unit: stage: test script: - cd ${BUILD_PATH} - ctest -j $(nproc) -L unit::all artifacts: when: on_failure Loading tests/unit/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading
.gitlab-ci.yml +6 −1 Original line number Diff line number Diff line Loading @@ -68,8 +68,12 @@ 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: - ${BUILD_PATH} - ${INSTALL_PATH} compile tests: Loading Loading @@ -98,6 +102,7 @@ integration tests: unit: stage: test script: - cd ${BUILD_PATH} - ctest -j $(nproc) -L unit::all artifacts: when: on_failure Loading
tests/unit/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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()