test: run version files in the same process in docker

This commit is contained in:
Amin Yahyaabadi 2022-02-13 20:32:34 -08:00
parent 8390c75901
commit 97250f427f
1 changed files with 2 additions and 12 deletions

View File

@ -8,17 +8,7 @@ WORKDIR "/"
# run installation
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true
# reload the environment
CMD source ~/.profile
RUN clang --version
RUN cmake --version
RUN ninja --version
RUN ccache --version
RUN cppcheck --version
RUN vcpkg --version
RUN doxygen --version
RUN dot --version
RUN gcovr --version
# reload the environment and print the versions
CMD source ~/.profile && clang --version && cmake --version && ninja --version && ccache --version && cppcheck --version && vcpkg --version && doxygen --version && dot --version && gcovr --version
ENTRYPOINT [ "/bin/sh" ]