ci: add unit tests Dockerfile
This commit is contained in:
parent
a88aa739b1
commit
5748e0a496
1 changed files with 37 additions and 0 deletions
37
tools/ci/images/unit_tests/Dockerfile
Normal file
37
tools/ci/images/unit_tests/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
|
||||
|
||||
|
||||
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
|
||||
&& conan profile detect
|
||||
|
||||
RUN clang --version \
|
||||
&& conan --version \
|
||||
&& pip --version \
|
||||
&& cmake --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