mirror of https://github.com/aminya/setup-cpp
Merge pull request #80 from aminya/gcovr [skip ci]
This commit is contained in:
commit
e9ad632584
|
@ -1 +1 @@
|
|||
Subproject commit f4fe216401a8eac95d66969f0ee2b760b3c4edf0
|
||||
Subproject commit 8775a79c3af6d7efe193ff26afadb45bd74ed894
|
|
@ -9,7 +9,7 @@ RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.
|
|||
RUN chmod +x ./setup_cpp_linux
|
||||
|
||||
# install llvm, cmake, ninja, and ccache
|
||||
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --make true
|
||||
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --task true
|
||||
|
||||
CMD source ~/.cpprc
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
|
@ -19,7 +19,7 @@ FROM base AS builder
|
|||
ADD ./dev/cpp_vcpkg_project /home/app
|
||||
WORKDIR /home/app
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
&& make build'
|
||||
&& task build'
|
||||
|
||||
### Running environment
|
||||
# use a distroless image or ubuntu:22.04 if you wish
|
||||
|
|
|
@ -8,7 +8,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update -qq
|
||||
RUN apt-get install -y --no-install-recommends curl gnupg ca-certificates
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
RUN apt-get install -y --no-install-recommends nodejs
|
||||
|
||||
# add setup_cpp.js
|
||||
|
@ -16,7 +16,7 @@ ADD "./dist/" "/"
|
|||
WORKDIR "/"
|
||||
|
||||
# run installation
|
||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
|
||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
|
||||
|
||||
CMD source ~/.cpprc
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
|
@ -25,8 +25,8 @@ ENTRYPOINT [ "/bin/bash" ]
|
|||
FROM base AS builder
|
||||
ADD ./dev/cpp_vcpkg_project /home/app
|
||||
WORKDIR /home/app
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
&& make build'
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
&& task build'
|
||||
|
||||
### Running environment
|
||||
# use a distroless image or ubuntu:20.04 if you wish
|
||||
|
|
|
@ -8,7 +8,7 @@ ADD "./dist/" "/"
|
|||
WORKDIR "/"
|
||||
|
||||
# run installation
|
||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
|
||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
|
||||
|
||||
CMD source ~/.cpprc
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
|
@ -17,8 +17,8 @@ ENTRYPOINT [ "/bin/bash" ]
|
|||
FROM base AS builder
|
||||
ADD ./dev/cpp_vcpkg_project /home/app
|
||||
WORKDIR /home/app
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
&& make build'
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
&& task build'
|
||||
|
||||
### Running environment
|
||||
# use a distroless image or ubuntu:22.04 if you wish
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,12 +6,12 @@ const DefaultVersions: Record<string, string> = {
|
|||
clangformat: "13.0.0",
|
||||
ninja: "1.10.2", // https://github.com/ninja-build/ninja/releases
|
||||
cmake: "3.23.1", // https://github.com/Kitware/CMake/releases
|
||||
gcovr: "5.0", // https://pypi.org/project/gcovr/
|
||||
conan: "1.47.0", // https://github.com/conan-io/conan/releases
|
||||
meson: "0.61.4", // https://github.com/mesonbuild/meson/releases
|
||||
gcovr: "5.1", // https://pypi.org/project/gcovr/
|
||||
conan: "1.48.0", // https://github.com/conan-io/conan/releases
|
||||
meson: "0.62.1", // https://github.com/mesonbuild/meson/releases
|
||||
python: "3.8.10",
|
||||
kcov: "40", // https://github.com/SimonKagstrom/kcov/releases
|
||||
task: "3.12.0", // https://github.com/go-task/task/releases
|
||||
task: "3.12.1", // https://github.com/go-task/task/releases
|
||||
doxygen: process.platform === "darwin" ? "1.9.3" : "1.9.4", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen
|
||||
gcc: process.platform === "win32" ? "11.2.0.07112021" : "11", // https://community.chocolatey.org/packages/mingw#versionhistory and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue