Skip to content
Snippets Groups Projects
Commit b6c8c510 authored by florian's avatar florian
Browse files

DRAFT: Pipeline

parent e9e09ba8
No related branches found
No related tags found
2 merge requests!3TST: Add CI infrastructure for integration testing,!2ENH: Add minimal wrapping of libcaosdb's C interface
Pipeline #10234 failed
...@@ -10,10 +10,4 @@ RUN git clone https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib.git ...@@ -10,10 +10,4 @@ RUN git clone https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib.git
WORKDIR /caosdb-cpplib WORKDIR /caosdb-cpplib
RUN git checkout f-extern-c RUN git checkout f-extern-c
RUN git submodule update --init --recursive RUN git submodule update --init --recursive
RUN mkdir build
WORKDIR /caosdb-cpplib/build
RUN conan install .. -s "compiler.libcxx=libstdc++11"
RUN cmake ..
RUN cmake --build .
RUN cmake --install .
RUN rm -rf ../.git RUN rm -rf ../.git
current_dir=${pwd}
cd /caosdb-cpplib
mkdir build
cd build
conan install .. -s "compiler.libcxx=libstdc++11"
cmake ..
cmake --build .
cmake --install .
cd ${current_dir}
...@@ -73,6 +73,7 @@ test: ...@@ -73,6 +73,7 @@ test:
# - master # - master
# - development # - development
script: script:
- .docker/install_cpplib.sh
- export LD_LIBRARY_PATH=/root/.local/lib:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=/root/.local/lib:$LD_LIBRARY_PATH
# Let's run the tests. Substitute `coverage = false` below, if you # Let's run the tests. Substitute `coverage = false` below, if you
# do not want coverage results. # do not want coverage results.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment