diff --git a/.teamcity/CHANGELOG.md b/.teamcity/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..081d59acc9bd89d46cfa632ca86e756c05190e38 --- /dev/null +++ b/.teamcity/CHANGELOG.md @@ -0,0 +1,3 @@ +### [2019-07-09] 1.1-cuda9.0-cudnn7-docs: +add unnit test for compling the docs + - add an envionment `docs` in anaconda diff --git a/.teamcity/Dockerfile b/.teamcity/Dockerfile index ca88356178e7461fd2b7bae2e9f14f02966733b7..da98d19c4d4754529c98e86d10bafaec822babb5 100644 --- a/.teamcity/Dockerfile +++ b/.teamcity/Dockerfile @@ -15,7 +15,7 @@ # A dev image based on paddle production image -FROM parl/parl-test:1.1-cuda9.0-cudnn7-v2 +FROM parl/parl-test:1.1-cuda9.0-cudnn7-docs COPY ./requirements.txt /root/ diff --git a/.teamcity/build.sh b/.teamcity/build.sh index 9e55dcb4d8c0f3f0f7c5e99c2005059281f84e17..1fcb11b4626b2bb7e4f6b7a2b28d6281480048e7 100755 --- a/.teamcity/build.sh +++ b/.teamcity/build.sh @@ -102,6 +102,23 @@ EOF rm -rf ${REPO_ROOT}/build } +function run_docs_test { + #export CUDA_VISIBLE_DEVICES="" + + mkdir -p ${REPO_ROOT}/build + cd ${REPO_ROOT}/build + + cmake .. -DIS_TESTING_DOCS=ON + + cat <