Merge branch 'CI'

This commit is contained in:
Ștefan Talpalaru 2019-03-28 23:26:54 +01:00
commit a8c62e32ef
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 6 additions and 2 deletions

View File

@ -37,4 +37,5 @@ script:
- ./build/nimbus --help
- make -j${NPROC} V=0 NIMFLAGS="-d:release" test
- make -j${NPROC} V=0 test-reproducibility
- make -C vendor/nim-beacon-chain -j${NPROC} V=0 test

7
env.sh
View File

@ -5,13 +5,16 @@ PWD_CMD="pwd"
uname | grep -qi mingw && PWD_CMD="pwd -W"
rel_path="$(dirname $0)"
abs_path="$(cd $rel_path; ${PWD_CMD})"
abs_path="$(cd $rel_path; pwd)"
# do we still need this?
abs_path_native="$(cd $rel_path; ${PWD_CMD})"
# used by libp2p/go-libp2p-daemon
export GOPATH="${abs_path}/vendor/go"
export GO111MODULE=on
# make it an absolute path, so we can call this script from other dirs
#- make it an absolute path, so we can call this script from other dirs
#- we can't use native Windows paths in here, because colons can't be escaped in PATH
export PATH="${abs_path}/vendor/Nim/bin:${GOPATH}/bin:${PATH}"
# Nimble needs this to be an absolute path