diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 936d329b7..0d878a402 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -120,7 +120,7 @@ jobs: rm -rf /build pip install pytest sed "s/pytest/python -m pytest/g" -i Makefile - make DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$PYTHON_EXEC BUILD_DIR=/build all run-tests run-end-to-end-dataflow-tests + make DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$PYTHON_EXEC BUILD_DIR=/build all run-tests run-end-to-end-dataflow-tests run-rust-tests echo "Debug: ccache statistics (after the build):" ccache -s chmod -R ugo+rwx /tmp/KeySetCache diff --git a/builders/Dockerfile.concrete-compiler-env b/builders/Dockerfile.concrete-compiler-env index 96a84b9b0..c7b050613 100644 --- a/builders/Dockerfile.concrete-compiler-env +++ b/builders/Dockerfile.concrete-compiler-env @@ -1,12 +1,15 @@ FROM quay.io/pypa/manylinux_2_28_x86_64 # epel-release is for install ccache +# clang is needed for rust bindings RUN dnf install -y epel-release RUN dnf update -y -RUN dnf install -y ninja-build hwloc-devel ccache +RUN dnf install -y ninja-build hwloc-devel ccache clang # setup ccache with an unlimited amount of files and storage RUN ccache -M 0 RUN ccache -F 0 +# Install Rust +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # Install boost ADD https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz /boost_1_71_0.tar.gz RUN tar -xzvf /boost_1_71_0.tar.gz @@ -31,7 +34,7 @@ WORKDIR /compiler RUN mkdir -p /build RUN make DATAFLOW_EXECUTION_ENABLED=ON BUILD_DIR=/build CCACHE=ON \ Python3_EXECUTABLE=${PYTHON_EXEC} \ - concretecompiler python-bindings + concretecompiler python-bindings rust-bindings ENV PYTHONPATH "$PYTHONPATH:/build/tools/concretelang/python_packages/concretelang_core" ENV PATH "$PATH:/build/bin" RUN ccache -z