Compare commits

..

8 Commits

Author SHA1 Message Date
351d07b85f Simplification
All checks were successful
Docker Builders / build-base-builder (push) Successful in 43s
Docker Builders / build-cpp-builder (push) Successful in 5m40s
Docker Builders / build-bigfoot-builder (push) Successful in 45m19s
2026-01-29 20:45:32 +00:00
200ccab096 fallback packages 2026-01-29 20:45:32 +00:00
4da5f54fa0 fallback packages 2026-01-29 20:45:32 +00:00
2598ea7d1b Fix infer download link 2026-01-29 20:45:32 +00:00
87dd11e8ec Typo 2026-01-29 20:45:32 +00:00
b0709db3c1 Include CPPCheck 2026-01-29 20:45:32 +00:00
4e761aac65 Include Infer 2026-01-29 20:45:32 +00:00
7b4ff02c49 Remove GCC Coverage 2026-01-29 20:45:32 +00:00
3 changed files with 32 additions and 18 deletions

View File

@@ -110,4 +110,17 @@ jobs:
BASE_BUILDER=${{ env.CPP_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} BASE_BUILDER=${{ env.CPP_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }}
CONAN_RELEASE_PROFILE=clang CONAN_RELEASE_PROFILE=clang
CONAN_RELWITHDEBINFO_PROFILE=clangd CONAN_RELWITHDEBINFO_PROFILE=clangd
CONAN_DEBUG_PROFILE=clangd CONAN_DEBUG_PROFILE=clangd
- name: Push built packages
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
BIGFOOT_BUILDER_TAG: ${{ env.BIGFOOT_BUILDER_TAG }}
BRANCH_NAME_LOWER: ${{ env.BRANCH_NAME_LOWER }}
run: |
docker run --rm \
-e CONAN_LOGIN_USERNAME=${ARTIFACTORY_USER} \
-e CONAN_PASSWORD=${ARTIFACTORY_PASSWORD} \
${BIGFOOT_BUILDER_TAG}:${BRANCH_NAME_LOWER} \
conan upload '*' --remote=bigfootpackages --force --confirm

View File

@@ -8,6 +8,7 @@ ARG CONAN_DEBUG_PROFILE
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
gcovr \
xvfb \ xvfb \
\ \
# LunarG Vulkan repo (modern keyring method) # LunarG Vulkan repo (modern keyring method)

View File

@@ -26,39 +26,39 @@ RUN apt-get update && apt-get install -y \
pipx \ pipx \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
\ \
# Install LLVM 21 # Install LLVM 18
&& wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh \ && wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh \
&& chmod +x /tmp/llvm.sh \ && chmod +x /tmp/llvm.sh \
&& /tmp/llvm.sh 20 all \ && /tmp/llvm.sh 18 all \
\ \
# Symlinks for clang 21 tools # Symlinks for clang 18 tools
&& ln -sf /usr/bin/clang-20 /usr/bin/clang \ && ln -sf /usr/bin/clang-18 /usr/bin/clang \
&& ln -sf /usr/bin/clang++-20 /usr/bin/clang++ \ && ln -sf /usr/bin/clang++-18 /usr/bin/clang++ \
&& ln -sf /usr/bin/llvm-profdata-20 /usr/bin/llvm-profdata \ && ln -sf /usr/bin/llvm-profdata-18 /usr/bin/llvm-profdata \
&& ln -sf /usr/bin/llvm-cov-20 /usr/bin/llvm-cov \ && ln -sf /usr/bin/llvm-cov-18 /usr/bin/llvm-cov \
&& ln -sf /usr/bin/clang-format-20 /usr/bin/clang-format \ && ln -sf /usr/bin/clang-format-18 /usr/bin/clang-format \
&& ln -sf /usr/bin/clang-tidy-20 /usr/bin/clang-tidy \ && ln -sf /usr/bin/clang-tidy-18 /usr/bin/clang-tidy \
&& ln -sf /usr/bin/run-clang-tidy-20 /usr/bin/run-clang-tidy \ && ln -sf /usr/bin/run-clang-tidy-18 /usr/bin/run-clang-tidy \
&& ln -sf /usr/bin/llvm-ar-20 /usr/bin/llvm-ar \ && ln -sf /usr/bin/llvm-ar-18 /usr/bin/llvm-ar \
&& ln -sf /usr/bin/llvm-nm-20 /usr/bin/llvm-nm \ && ln -sf /usr/bin/llvm-nm-18 /usr/bin/llvm-nm \
&& ln -sf /usr/bin/llvm-ranlib-20 /usr/bin/llvm-ranlib \ && ln -sf /usr/bin/llvm-ranlib-18 /usr/bin/llvm-ranlib \
\ \
# Reset ccache stats # Reset ccache stats
&& ccache --zero-stats && ccache --zero-stats
RUN VERSION=1.2.0; \ RUN VERSION=1.2.0; \
curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux-x86_64-v$VERSION.tar.xz" \ curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux-x86_64-v$VERSION.tar.xz" \
| tar -C /opt -xJ && \ | sudo tar -C /opt -xJ && \
ln -s "/opt/infer-linux-x86_64-v$VERSION/bin/infer" /usr/bin/infer sudo ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
# Install pipx and Conan # Install pipx and Conan
RUN pipx ensurepath \ RUN pipx ensurepath \
&& pipx install conan \ && pipx install conan
&& pipx install gcovr
# Build and install mold # Build and install mold
RUN git clone --branch v2.40.4 https://github.com/rui314/mold.git /tmp/mold \ RUN git clone --branch v2.40.4 https://github.com/rui314/mold.git /tmp/mold \
&& cd /tmp/mold \ && cd /tmp/mold \
&& ./install-build-deps.sh \
&& cmake . -DCMAKE_BUILD_TYPE=Release \ && cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \