diff --git a/BUILD.md b/BUILD.md index 08eb4e27..a5e2980d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -6,8 +6,8 @@ rustup install 1.51.0 ``` After that, use `cargo`, the standard Rust build tool, to build the library: ```bash -git clone https://github.com/HorizenOfficial/ginger-lib.git -cd ginger-lib +git clone https://github.com/HorizenOfficial/zendoo-sc-cryptolib.git +cd zendoo-sc-cryptolib cargo build --release ``` This library comes with unit tests for each of the provided crates. Run the tests with: diff --git a/ci/entrypoint.sh b/ci/entrypoint.sh index a9461642..6b4f8845 100755 --- a/ci/entrypoint.sh +++ b/ci/entrypoint.sh @@ -60,5 +60,11 @@ gosu zenbuilder rustc --version # Fix ownership recursively chown -RH zenbuilder:zenbuilder /build +# Set JAVA_HOME +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +echo $JAVA_HOME +export PATH=$PATH:$JAVA_HOME/bin +java -version + exec gosu zenbuilder /usr/local/bin//entrypoint_setup_gpg.sh "$@"