Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
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-cpplib
Commits
320c1151
Verified
Commit
320c1151
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
da70ea2c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#9559
failed
3 years ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-cppinttest
#9560
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docker/Dockerfile
+28
-0
28 additions, 0 deletions
.docker/Dockerfile
CMakeLists.txt
+18
-18
18 additions, 18 deletions
CMakeLists.txt
with
46 additions
and
18 deletions
.docker/Dockerfile
+
28
−
0
View file @
320c1151
...
...
@@ -10,6 +10,34 @@ RUN apt-get install -y python3-pip
RUN
apt-get
install
-y
git
RUN
apt-get
install
-y
curl
RUN
apt-get
install
-y
build-essential autoconf libtool pkg-config
RUN
git clone
--recurse-submodules
-b
v1.38.1 https://github.com/grpc/grpc
WORKDIR
/grpc
RUN
mkdir
-p
cmake/build
WORKDIR
cmake/build
RUN
cmake
-DgRPC_INSTALL
=
ON
\
-DgRPC_BUILD_CSHARP_EXT
=
OFF
\
-DgRPC_BUILD_GRPC_CSHARP_PLUGIN
=
OFF
\
-DgRPC_BUILD_GRPC_PYTHON_PLUGIN
=
OFF
\
-DgRPC_BUILD_GRPC_RUBY_PLUGIN
=
OFF
\
-DgRPC_BUILD_GRPC_PHP_PLUGIN
=
OFF
\
-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN
=
OFF
\
-DgRPC_BUILD_GRPC_NODE_PLUGIN
=
OFF
\
-DgRPC_BUILD_TESTS
=
OFF
\
../..
RUN
make
-j
RUN
make
install
WORKDIR
/grpc
RUN
mkdir
-p
third_party/abseil-cpp/cmake/build
WORKDIR
third_party/abseil-cpp/cmake/build
RUN
cmake
-DCMAKE_POSITION_INDEPENDENT_CODE
=
TRUE
\
../..
RUN
make
-j
RUN
make
install
WORKDIR
/
COPY
doc/requirements.txt doc-requirements.txt
RUN
pip3
install
-r
doc-requirements.txt
COPY
requirements.txt build-requirements.txt
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
18
−
18
View file @
320c1151
...
...
@@ -41,24 +41,24 @@ conan_basic_setup()
set
(
PROJECT_INCLUDE_DIR
"
${
PROJECT_SOURCE_DIR
}
/include"
)
#
find_program(iwyu NAMES include-what-you-use iwyu PATHS ${CMAKE_SOURCE_DIR}/tools/include-what-you-use/${iwyu_os}/bin)
#
if(NOT iwyu)
#
message(STATUS "include-what-you-use: Not found")
#
else()
#
message(STATUS "include-what-you-use: ${iwyu}")
#
set(_CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${iwyu})
#
endif()
#
find_program(clang_tidy NAMES clang-tidy clang-tidy-11)
#
if(NOT clang_tidy)
#
message(STATUS "clang-tidy: Not found")
#
else()
#
message(STATUS "clang-tidy: ${clang_tidy}")
#
set(_CMAKE_CXX_CLANG_TIDY "${clang_tidy}"
#
"--header-filter=caosdb/.*[^\(\.pb\.h\)]$"
#
"--checks=*,-fuchsia-*,-llvm-include-order,-llvmlibc-*"
#
"--warnings-as-errors=*")
#
endif()
find_program
(
iwyu NAMES include-what-you-use iwyu PATHS
${
CMAKE_SOURCE_DIR
}
/tools/include-what-you-use/
${
iwyu_os
}
/bin
)
if
(
NOT iwyu
)
message
(
STATUS
"include-what-you-use: Not found"
)
else
()
message
(
STATUS
"include-what-you-use:
${
iwyu
}
"
)
set
(
_CMAKE_CXX_INCLUDE_WHAT_YOU_USE
${
iwyu
}
)
endif
()
find_program
(
clang_tidy NAMES clang-tidy clang-tidy-11
)
if
(
NOT clang_tidy
)
message
(
STATUS
"clang-tidy: Not found"
)
else
()
message
(
STATUS
"clang-tidy:
${
clang_tidy
}
"
)
set
(
_CMAKE_CXX_CLANG_TIDY
"
${
clang_tidy
}
"
"--header-filter=caosdb/.*[^
\(
\.pb\.h
\)
]$"
"--checks=*,-fuchsia-*,-llvm-include-order,-llvmlibc-*"
"--warnings-as-errors=*"
)
endif
()
add_subdirectory
(
src
)
add_subdirectory
(
include
)
...
...
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