mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
feat(ci): clear ccache stats in docker image
This commit is contained in:
5
.github/workflows/continuous-integration.yml
vendored
5
.github/workflows/continuous-integration.yml
vendored
@@ -79,7 +79,6 @@ jobs:
|
||||
|
||||
- name: Build and test compiler
|
||||
if: ${{ matrix.compiler == 'gcc7' }}
|
||||
id: build-compiler
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -92,8 +91,6 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
echo "Debug: ccache statistics (prior to the build):"
|
||||
ccache -s
|
||||
cd /compiler
|
||||
rm -rf /build
|
||||
/opt/python/cp38-cp38/bin/pip install pytest
|
||||
@@ -131,8 +128,6 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
echo "Debug: ccache statistics (prior to the build):"
|
||||
ccache -s
|
||||
cd /compiler
|
||||
export PYTHONPATH=""
|
||||
make CCACHE=ON BUILD_DIR=/build concretecompiler python-bindings doc
|
||||
|
||||
@@ -39,3 +39,4 @@ RUN make PARALLEL_EXECUTION_ENABLED=ON BUILD_DIR=/build CCACHE=ON \
|
||||
ENV PYTHONPATH "$PYTHONPATH:/build/tools/concretelang/python_packages/concretelang_core"
|
||||
ENV PATH "$PATH:/build/bin"
|
||||
ENV RT_LIB "/build/lib/libConcretelangRuntime.so"
|
||||
RUN ccache -z
|
||||
|
||||
@@ -29,3 +29,4 @@ RUN make BUILD_DIR=/build CCACHE=ON concretecompiler python-bindings && \
|
||||
ENV PYTHONPATH "$PYTHONPATH:/build/tools/concretelang/python_packages/concretelang_core"
|
||||
ENV PATH "$PATH:/build/bin"
|
||||
ENV RT_LIB "/build/lib/libConcretelangRuntime.so"
|
||||
RUN ccache -z
|
||||
|
||||
@@ -28,3 +28,4 @@ WORKDIR /compiler
|
||||
RUN mkdir -p /build
|
||||
RUN make -e CXX_COMPILER=$CXX CC_COMPILER=$CC BUILD_DIR=/build Python3_EXECUTABLE=/opt/python/${python_tag}/bin/python CCACHE=ON python-bindings concretecompiler
|
||||
ENV PATH "$PATH:/build/bin"
|
||||
RUN ccache -z
|
||||
|
||||
Reference in New Issue
Block a user