Skip to content
Snippets Groups Projects
Verified Commit 320c1151 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent da70ea2c
No related branches found
No related tags found
No related merge requests found
Pipeline #9559 failed
Pipeline: caosdb-cppinttest

#9560

    ...@@ -10,6 +10,34 @@ RUN apt-get install -y python3-pip ...@@ -10,6 +10,34 @@ RUN apt-get install -y python3-pip
    RUN apt-get install -y git RUN apt-get install -y git
    RUN apt-get install -y curl 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 COPY doc/requirements.txt doc-requirements.txt
    RUN pip3 install -r doc-requirements.txt RUN pip3 install -r doc-requirements.txt
    COPY requirements.txt build-requirements.txt COPY requirements.txt build-requirements.txt
    ......
    ...@@ -41,24 +41,24 @@ conan_basic_setup() ...@@ -41,24 +41,24 @@ conan_basic_setup()
    set(PROJECT_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/include") 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) find_program(iwyu NAMES include-what-you-use iwyu PATHS ${CMAKE_SOURCE_DIR}/tools/include-what-you-use/${iwyu_os}/bin)
    #if(NOT iwyu) if(NOT iwyu)
    #message(STATUS "include-what-you-use: Not found") message(STATUS "include-what-you-use: Not found")
    #else() else()
    #message(STATUS "include-what-you-use: ${iwyu}") message(STATUS "include-what-you-use: ${iwyu}")
    #set(_CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${iwyu}) set(_CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${iwyu})
    #endif() endif()
    #find_program(clang_tidy NAMES clang-tidy clang-tidy-11) find_program(clang_tidy NAMES clang-tidy clang-tidy-11)
    #if(NOT clang_tidy) if(NOT clang_tidy)
    #message(STATUS "clang-tidy: Not found") message(STATUS "clang-tidy: Not found")
    #else() else()
    #message(STATUS "clang-tidy: ${clang_tidy}") message(STATUS "clang-tidy: ${clang_tidy}")
    #set(_CMAKE_CXX_CLANG_TIDY "${clang_tidy}" set(_CMAKE_CXX_CLANG_TIDY "${clang_tidy}"
    #"--header-filter=caosdb/.*[^\(\.pb\.h\)]$" "--header-filter=caosdb/.*[^\(\.pb\.h\)]$"
    #"--checks=*,-fuchsia-*,-llvm-include-order,-llvmlibc-*" "--checks=*,-fuchsia-*,-llvm-include-order,-llvmlibc-*"
    #"--warnings-as-errors=*") "--warnings-as-errors=*")
    #endif() endif()
    add_subdirectory(src) add_subdirectory(src)
    add_subdirectory(include) add_subdirectory(include)
    ......
    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