summaryrefslogtreecommitdiff
path: root/Dockerfile_test
diff options
context:
space:
mode:
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
-