test: test the installed tools in docker

This commit is contained in:
Amin Yahyaabadi 2022-02-13 19:48:58 -08:00
parent 8a97f81d68
commit e2ab2792b9
1 changed files with 11 additions and 1 deletions

View File

@ -6,9 +6,19 @@ ADD "./dist/" "/"
WORKDIR "/"
# run installation
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
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
ENTRYPOINT [ "/bin/sh" ]