Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-cppinttest
Commits
0d9105c8
Verified
Commit
0d9105c8
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
d44ab4d1
No related branches found
No related tags found
No related merge requests found
Pipeline
#8240
failed
3 years ago
Stage: setup
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/Dockerfile
+1
-1
1 addition, 1 deletion
.docker/Dockerfile
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
test/CMakeLists.txt
+2
-2
2 additions, 2 deletions
test/CMakeLists.txt
with
5 additions
and
4 deletions
.docker/Dockerfile
+
1
−
1
View file @
0d9105c8
...
...
@@ -6,6 +6,6 @@ RUN mkdir build
WORKDIR
/libcaosdb/build
RUN
cmake ..
RUN
cmake
--build
.
RUN
cmake
--install
.
RUN
cmake
--install
.
--prefix
/usr/local/
CMD
/bin/bash
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
1
View file @
0d9105c8
...
...
@@ -25,6 +25,7 @@ variables:
TRIGGERED_BY_REPO
:
CPPINTTEST
TRIGGERED_BY_REF
:
$CI_COMMIT_REF_NAME
TRIGGERED_BY_HASH
:
$CI_COMMIT_SHORT_SHA
CPPLIB_VERSION
:
0.0.1
stages
:
-
setup
...
...
@@ -60,6 +61,6 @@ test:
script
:
-
mkdir build
-
cd build
-
cmake ..
-
cmake
-D CMAKE_PREFIX_PATH=/usr/local/include/libcaosdb-${CPPLIB_VERSION}
..
-
cmake --build .
-
ctest
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
2
−
2
View file @
0d9105c8
...
...
@@ -23,11 +23,11 @@ set(test_cases
test_connection
)
find_package
(
caosdb
PATHS /home/tf/libcaosdb/lib/libcaosdb-0.0.1/
REQUIRED
)
find_package
(
caosdb REQUIRED
)
include
(
FetchGTest
)
# add special cmake functions for gtest
include
(
GoogleTest
)
include
(
GoogleTest
REQUIRED
)
# loop over all test cases and add them to the test runner
list
(
LENGTH test_cases len_test_cases
)
...
...
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