Skip to content

Commit

Permalink
Merge pull request #71 from HorizenOfficial/fixing_gpg_ci
Browse files Browse the repository at this point in the history
adding JAVA_HOME path
  • Loading branch information
lander86 authored Nov 19, 2021
2 parents 2af0dae + 42ac49c commit 15730bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit 15730bb

Please sign in to comment.