summaryrefslogtreecommitdiff
path: root/Dockerfile_test
diff options
context:
space:
mode:
authorOleg Morozenkov <o.morozenkov@corp.mail.ru>2022-11-01 19:43:42 +0300
committerOleg Morozenkov <o.morozenkov@corp.mail.ru>2022-11-01 19:43:42 +0300
commite96d3a3d4f023dc0d5d4e60fb8efb5a40ce7a71d (patch)
treef57f44b1448204120229bd83f3654b32e3df79ed /Dockerfile_test
parent30136601c6755e5d7c2174ebd4ed49595e10a54b (diff)
parent7abb2509b87ef1344da97ae734211715f291cfa2 (diff)
Merge remote-tracking branch 'llnulldisk/master' into merge-228
Diffstat (limited to 'Dockerfile_test')
-rw-r--r--Dockerfile_test19
1 files changed, 18 insertions, 1 deletions
diff --git a/Dockerfile_test b/Dockerfile_test
index ad52a88..6306115 100644
--- a/Dockerfile_test
+++ b/Dockerfile_test
@@ -40,6 +40,20 @@ WORKDIR /usr/src/tgbot-cpp/samples/echobot-curl-client
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
+WORKDIR /usr/src/tgbot-cpp/samples/echobot-setmycommands
+RUN rm -rf CMakeCache.txt CMakeFiles/ && \
+ cmake . && make -j$(nproc)
+
+WORKDIR /usr/src/tgbot-cpp
+RUN rm -rf samples/echobot-submodule/tgbot-cpp/
+COPY include samples/echobot-submodule/tgbot-cpp/include
+COPY src samples/echobot-submodule/tgbot-cpp/src
+COPY CMakeLists.txt samples/echobot-submodule/tgbot-cpp/
+
+WORKDIR /usr/src/tgbot-cpp/samples/echobot-submodule
+RUN rm -rf CMakeCache.txt CMakeFiles/ && \
+ cmake . && make -j$(nproc)
+
WORKDIR /usr/src/tgbot-cpp/samples/echobot-webhook-server
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
@@ -56,7 +70,10 @@ WORKDIR /usr/src/tgbot-cpp/samples/received-text-processing
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
+WORKDIR /usr/src/tgbot-cpp/samples/reply-keyboard
+RUN rm -rf CMakeCache.txt CMakeFiles/ && \
+ cmake . && make -j$(nproc)
+
WORKDIR /usr/src/tgbot-cpp
ENV CTEST_OUTPUT_ON_FAILURE=1
CMD make test
-