mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
ci: Force use of ccache in conformance.yml
Set the make variable `CCACHE` to `ON` in order to force the use of `ccache` during compilation of the code. For unknown reasons, the build directory must also be removed. Otherwise, a complete rebuild circumventing the cache is triggered and `ccache` does not have any effect on compilation time. Debug information printing `ccache` statistics before and after the build has also been added.
This commit is contained in:
7
.github/workflows/conformance.yml
vendored
7
.github/workflows/conformance.yml
vendored
@@ -31,6 +31,11 @@ jobs:
|
||||
password: ${{ secrets.GHCR_PASSWORD }}
|
||||
options: -v ${{ github.workspace }}/compiler:/compiler
|
||||
run: |
|
||||
echo "Debug: ccache statistics (prior to the build):"
|
||||
ccache -s
|
||||
cd /compiler
|
||||
pip install pytest
|
||||
make BUILD_DIR=/build test
|
||||
rm -rf /build
|
||||
make CCACHE=ON BUILD_DIR=/build test
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
|
||||
Reference in New Issue
Block a user