Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gekkofs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc
gekkofs
Commits
262bb791
Commit
262bb791
authored
4 years ago
by
Ramon Nou
Browse files
Options
Downloads
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!79
Resolve "Unit tests not found"
Pipeline
#1491
passed
4 years ago
Stage: check format
Stage: build deps
Stage: build
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-1
6 additions, 1 deletion
.gitlab-ci.yml
tests/unit/CMakeLists.txt
+1
-1
1 addition, 1 deletion
tests/unit/CMakeLists.txt
with
7 additions
and
2 deletions
.gitlab-ci.yml
+
6
−
1
View file @
262bb791
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
tests/unit/CMakeLists.txt
+
1
−
1
View file @
262bb791
...
...
@@ -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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment