-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
export pythonvirtenvpath=/opt/venvboostdocs | ||
if [ -f ${pythonvirtenvpath}/bin/activate ]; then | ||
source ${pythonvirtenvpath}/bin/activate | ||
fi | ||
|
||
if [[ "${JOB_BASE_NAME}" =~ PR ]]; then | ||
BOOST_BRANCH="develop" | ||
else | ||
BOOST_BRANCH=${BRANCH_NAME} | ||
fi | ||
|
||
if [ ! -d boost-root ]; then | ||
git clone -b ${BOOST_BRANCH} https://github.com/boostorg/boost.git boost-root | ||
fi | ||
cd boost-root | ||
export BOOST_ROOT=$(pwd) | ||
git pull | ||
git submodule update --init libs/context | ||
git submodule update --init libs/json | ||
git submodule update --init tools/boostbook | ||
git submodule update --init tools/boostdep | ||
# git submodule update --init tools/docca | ||
rsync -av --delete --exclude boost-root --exclude docstarget ../ tools/docca | ||
git submodule update --init tools/quickbook | ||
rsync -av --exclude boost-root ../ tools/$REPONAME | ||
python tools/boostdep/depinst/depinst.py ../tools/quickbook | ||
# Is depinst overwriting the library's folder? Rerun rsync. | ||
rsync -av --delete --exclude boost-root --exclude docstarget ../ tools/docca | ||
./bootstrap.sh | ||
./b2 headers | ||
|
||
echo "using doxygen ; using boostbook ; using saxonhe ;" > tools/build/src/user-config.jam | ||
|
||
./b2 -j3 tools/$REPONAME/example/ | ||
./b2 -j3 tools/$REPONAME/example//boostrelease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
echo "export PRTEST=prtest" >> jenkinsjobinfo.sh | ||
echo "export PATH_TO_DOCS=tools/docca/example" >> jenkinsjobinfo.sh |