Automated Build for Beta (#1035)

This commit is contained in:
Russel Waters 2018-08-07 21:57:13 -04:00 committed by GitHub
commit e7a9238cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -77,6 +77,18 @@ Ubuntu Linux Xenial:
- ./ci/ubuntu_prep.sh
- ./ci/bootstrap_boost.sh
Ubuntu Linux Xenial Beta:
<<: *linux_cfg
stage: build
image: ubuntu:xenial
variables:
FLAVOR: xenial
BETA: 1
before_script:
- ./ci/ubuntu_prep.sh
- ./ci/bootstrap_boost.sh
Xenial OPTIMIZED:
<<: *linux_cfg
stage: build

View file

@ -54,6 +54,12 @@ if [[ ${FLAVOR-_} == "_" ]]; then
FLAVOR=""
fi
if [[ "${BETA}" -eq 1 ]]; then
NETWORK_CFG="-DACTIVE_NETWORK=rai_beta_network"
else
NETWORK_CFG="-DACTIVE_NETWORK=rai_live_network"
fi
set -o nounset
run_build() {
@ -66,6 +72,7 @@ run_build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX="../install" \
${NETWORK_CFG} \
${CRYPTOPP_CFG} \
${DISTRO_CFG} \
${SIMD_CFG} \