diff --git a/ci/docs/build.sh b/ci/docs/build.sh deleted file mode 100644 index 6c9b75c93..000000000 --- a/ci/docs/build.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# Copyright (c) 2020, NVIDIA CORPORATION. -################################# -# cuSpatial Docs build script for CI # -################################# - -if [ -z "$PROJECT_WORKSPACE" ]; then - echo ">>>> ERROR: Could not detect PROJECT_WORKSPACE in environment" - echo ">>>> WARNING: This script contains git commands meant for automated building, do not run locally" - exit 1 -fi - -export DOCS_WORKSPACE="$WORKSPACE/docs" -export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH -export HOME="$WORKSPACE" -export PROJECT_WORKSPACE=/rapids/cuspatial -export LIBCUDF_KERNEL_CACHE_PATH="$HOME/.jitify-cache" -export PROJECTS=(cuspatial libcuspatial) - -gpuci_logger "Check environment" -env - -gpuci_logger "Check GPU usage" -nvidia-smi - -gpuci_logger "Activate conda env" -. /opt/conda/etc/profile.d/conda.sh -conda activate rapids - -gpuci_logger "Check versions" -python --version -$CC --version -$CXX --version - -gpuci_logger "Show conda info" -conda info -conda config --show-sources -conda list --show-channel-urls - -# Build C++ docs -gpuci_logger "Build Doxygen docs" -cd "$PROJECT_WORKSPACE/cpp/doxygen" -doxygen Doxyfile - -# Build Python docs -gpuci_logger "Build Sphinx docs" -cd "$PROJECT_WORKSPACE/docs" -make html - -#Commit to Website -cd "$DOCS_WORKSPACE" - -for PROJECT in ${PROJECTS[@]}; do - mkdir -p "$DOCS_WORKSPACE/api/$PROJECT/$BRANCH_VERSION" - rm -rf "$DOCS_WORKSPACE/api/$PROJECT/$BRANCH_VERSION/"* -done - -mv "$PROJECT_WORKSPACE/docs/build/html/"* "$DOCS_WORKSPACE/api/cuspatial/$BRANCH_VERSION" -mv "$PROJECT_WORKSPACE/cpp/doxygen/html/"* "$DOCS_WORKSPACE/api/libcuspatial/$BRANCH_VERSION"