Compare commits
1 commit
ae236efe2b
...
59d8c3cbde
Author | SHA1 | Date | |
---|---|---|---|
59d8c3cbde |
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