tests(compiler): Add a benchmark tool builded thanks google-benchmarks

This commit is contained in:
Quentin Bourgerie
2022-06-16 16:22:57 +02:00
parent 2de76e9c4e
commit f06957a197
19 changed files with 283 additions and 42 deletions

View File

@@ -127,7 +127,7 @@ jobs:
rm -rf /build
/opt/python/cp38-cp38/bin/pip install pytest
sed "s/pytest/\/opt\/python\/cp38-cp38\/bin\/python -m pytest/g" -i Makefile
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build test doc
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build all test
echo "Debug: ccache statistics (after the build):"
ccache -s
chmod -R ugo+rwx /tmp/KeySetCache
@@ -174,7 +174,7 @@ jobs:
set -e
cd /compiler
export PYTHONPATH=""
make CCACHE=ON BUILD_DIR=/build concretecompiler python-bindings doc
make CCACHE=ON BUILD_DIR=/build all
echo "Debug: ccache statistics (after the build):"
ccache -s
@@ -280,7 +280,7 @@ jobs:
echo "Debug: ccache statistics (prior to the build):"
ccache -s
export CONCRETE_PROJECT=${{ github.workspace }}/concrete
make python-bindings build-tests test-check
make all test-check
echo "Debug: ccache statistics (after the build):"
ccache -s