ci: remove old .dockerfiles
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
light7734 2025-09-21 14:37:36 +03:30
parent 1555f2867d
commit 154d6eacf4
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
6 changed files with 0 additions and 418 deletions

View file

@ -1,59 +0,0 @@
FROM archlinux:latest
RUN pacman -Syu --noconfirm --disable-download-timeout \
&& pacman -S --noconfirm --disable-download-timeout reflector \
&& reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist \
&& sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 8/' /etc/pacman.conf \
RUN pacman -S --noconfirm --disable-download-timeout \
bash \
base-devel \
git \
cmake \
python \
python-pip \
clang \
gcc \
llvm \
mesa \
mold \
ninja \
curl \
wget \
zlib \
libc++ \
libinput \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect
RUN pip --version \
&& conan --version \
&& cmake --version \
&& g++ --version \
&& clang --version \
&& ninja --version \
&& mold --version \
&& llvm-profdata --version \
&& llvm-cov --version
RUN git clone 'https://git.light7734.com/light7734/light.git' \
&& cd light \
&& conan build . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
-s build_type=Release \
-s compiler=clang \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
-o enable_llvm_coverage=True \
--build=missing \
&& rm -r ../light/

View file

@ -1,72 +0,0 @@
FROM archlinux:base-devel
RUN pacman -Syyu --noconfirm && \
pacman -S --noconfirm \
bash \
base-devel \
clang \
llvm \
libc++ \
cmake \
git \
python \
python-pip \
mesa \
mold \
ninja \
zlib \
libc++ \
libinput \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi \
afl++ \
afl-utils
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 \
&& ninja --version \
&& mold --version \
&& afl-fuzz --version \
&& afl-clang-lto --version \
&& afl-clang-lto++ --version
RUN git clone 'https://git.light7734.com/light7734/light.git' --depth=1 \
&& cd light \
&& export CC=$(which afl-clang-lto) \
&& export CXX=$(which afl-clang-lto++) \
&& export AR=$(which llvm-ar) \
&& export RANLIB=$(which llvm-ranlib) \
&& export AS=$(which llvm-as) \
&& conan install . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:compiler_executables='{"c": "afl-clang-lto", "cpp": "afl-clang-lto++"}' \
-s build_type=Release \
-s compiler=clang \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
--build=missing \
&& conan install . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
-s build_type=Release \
-s compiler=clang \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
-o enable_llvm_coverage=True \
--build=missing \
&& rm -r ../light/

View file

@ -1,75 +0,0 @@
FROM archlinux:base-devel
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
bash \
base-devel \
clang \
llvm \
cmake \
git \
python \
python-pip \
mesa \
mold \
ninja \
zlib \
libc++ \
libinput \
libunwind \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi
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 \
&& ninja --version \
&& mold --version
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
&& cd llvm-project/ \
&& mkdir build/ \
&& cd build/ \
&& cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_LINKER_TYPE="MOLD" \
-DCMAKE_INSTALL_PREFIX=/libcxx_lsan \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
-DLLVM_ENABLE_PIC=ON \
-DLIBCXX_INSTALL_MODULES=ON \
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
-DLLVM_USE_SANITIZER=Leaks \
../runtimes \
&& ninja cxx cxxabi \
&& ninja -C . install-cxx install-cxxabi \
&& rm -r /llvm-project/
RUN git clone 'https://git.light7734.com/light7734/light.git' \
&& cd light \
&& conan install . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:cxxflags='["-g", "-fno-omit-frame-pointer", "-nostdinc++", "-isystem", "/libcxx_lsan/include/c++/v1/", "-fsanitize=leak"]' \
-c tools.build:sharedlinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
-c tools.build:exelinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
-c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
-s build_type=Release \
-s compiler=clang \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
--build=missing

View file

@ -1,77 +0,0 @@
FROM archlinux:base-devel
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
bash \
base-devel \
clang \
llvm \
cmake \
git \
python \
python-pip \
mesa \
mold \
ninja \
zlib \
libc++ \
libinput \
libunwind \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi \
xcb-util-cursor
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 \
&& ninja --version \
&& mold --version
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
&& cd llvm-project/ \
&& mkdir build/ \
&& cd build/ \
&& cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_LINKER_TYPE="MOLD" \
-DCMAKE_INSTALL_PREFIX=/libcxx_msan \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
-DLLVM_ENABLE_PIC=ON \
-DLIBCXX_INSTALL_MODULES=ON \
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
-DLLVM_USE_SANITIZER=MemoryWithOrigins \
../runtimes \
&& ninja cxx cxxabi \
&& ninja -C . install-cxx install-cxxabi \
&& rm -r /llvm-project/
RUN git clone 'https://git.light7734.com/light7734/light.git' \
&& cd light \
&& conan install . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:cxxflags='["-g", "-fno-omit-frame-pointer", "-nostdinc++", "-isystem", "/libcxx_msan/include/c++/v1/", "-fsanitize=memory", "-fsanitize-memory-track-origins"]' \
-c tools.build:sharedlinkflags='["-L/libcxx_msan/lib", "-Wl,-rpath,/libcxx_msan/lib", "-lc++", "-lc++abi", "-fsanitize=memory", "-fsanitize-memory-track-origins"]' \
-c tools.build:exelinkflags='["-L/libcxx_msan/lib", "-Wl,-rpath,/libcxx_msan/lib", "-lc++", "-lc++abi", "-fsanitize=memory", "-fsanitize-memory-track-origins"]' \
-c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
-s build_type=Release \
-s compiler=clang \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
--build=missing

View file

@ -1,66 +0,0 @@
FROM archlinux:base-devel
RUN pacman -Syu --noconfirm --disable-download-timeout \
&& pacman -S --noconfirm --needed --disable-download-timeout reflector \
&& reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist \
&& sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 9/' /etc/pacman.conf
RUN pacman -S --noconfirm --needed --disable-download-timeout \
bash \
base-devel \
git \
cmake \
python \
python-pip \
clang \
gcc \
llvm \
mesa \
ninja \
mold \
curl \
wget \
zlib \
libc++ \
libinput \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi \
xcb-util-cursor
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 \
&& ninja --version \
&& mold --version
# We `build` instead of `install` to make sure the project can be built with the current image state.
RUN git clone 'https://git.light7734.com/light7734/light.git' --depth=1 \
&& cd light \
&& conan build . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:compiler_executables='{"c": "gcc", "cpp": "g++"}' \
-s build_type=Release \
-s compiler=gcc \
-s compiler.version=15 \
-s compiler.libcxx=libstdc++ \
-o enable_unit_tests=True \
-o enable_fuzz_tests=False \
-o enable_llvm_coverage=False \
-o enable_static_analysis=False \
-o use_mold=True \
-o export_compile_commands=False \
--build=missing \
&& rm -rf ../light

View file

@ -1,69 +0,0 @@
FROM archlinux:base-devel
RUN pacman -Syu --noconfirm --disable-download-timeout \
&& pacman -S --noconfirm --needed --disable-download-timeout reflector \
&& reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist \
&& sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 9/' /etc/pacman.conf
RUN pacman -S --noconfirm --needed --disable-download-timeout \
bash \
base-devel \
git \
cmake \
python \
python-pip \
clang \
gcc \
llvm \
mesa \
ninja \
mold \
valgrind \
curl \
wget \
zlib \
libc++ \
libinput \
xorg-server-xvfb \
libx11 \
libxrandr \
libxinerama \
libxcursor \
libxi \
xcb-util-cursor
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 \
&& ninja --version \
&& mold --version \
&& valgrind --version
# We `build` instead of `install` to make sure the project can be built with the current image state.
RUN git clone 'https://git.light7734.com/light7734/light.git' --depth=1 \
&& cd light \
&& conan build . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:compiler_executables='{"c": "gcc", "cpp": "g++"}' \
-s build_type=Release \
-s compiler=gcc \
-s compiler.version=15 \
-s compiler.libcxx=libstdc++ \
-o enable_unit_tests=True \
-o enable_fuzz_tests=False \
-o enable_llvm_coverage=False \
-o enable_static_analysis=False \
-o use_mold=True \
-o export_compile_commands=False \
--build=missing \
&& rm -rf ../light