ci: add valgrind ci Dockerfile & refactor: add g++ --version to unit_tests Dockerfile
This commit is contained in:
parent
e65b6b3f83
commit
e7a2296413
2 changed files with 38 additions and 1 deletions
|
@ -22,9 +22,9 @@ RUN clang --version \
|
|||
&& conan --version \
|
||||
&& pip --version \
|
||||
&& cmake --version \
|
||||
&& g++ --version \
|
||||
&& clang --version
|
||||
|
||||
|
||||
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
|
||||
&& cd light \
|
||||
&& conan install . \
|
||||
|
|
37
tools/ci/images/valgrind/Dockerfile
Normal file
37
tools/ci/images/valgrind/Dockerfile
Normal file
|
@ -0,0 +1,37 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
clang \
|
||||
llvm \
|
||||
cmake \
|
||||
git \
|
||||
make \
|
||||
g++ \
|
||||
python3 \
|
||||
py3-pip \
|
||||
mesa-dev \
|
||||
mesa-gl \
|
||||
pkgconf \
|
||||
valgrind
|
||||
|
||||
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
|
||||
&& conan profile detect
|
||||
|
||||
RUN clang --version \
|
||||
&& conan --version \
|
||||
&& pip --version \
|
||||
&& cmake --version \
|
||||
&& g++ --version \
|
||||
&& clang --version
|
||||
|
||||
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
|
||||
&& cd light \
|
||||
&& conan install . \
|
||||
-s build_type=Debug \
|
||||
-c tools.system.package_manager:mode=install \
|
||||
--build=missing \
|
||||
&& conan install . \
|
||||
-s build_type=Release \
|
||||
-c tools.system.package_manager:mode=install \
|
||||
--build=missing
|
Loading…
Add table
Reference in a new issue