ci: add unit tests Dockerfile

This commit is contained in:
light7734 2025-07-15 16:49:34 +03:30
parent a88aa739b1
commit 5748e0a496

View 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