Skip to content

Commit

Permalink
Only run doc builds for x86_64 (#607)
Browse files Browse the repository at this point in the history
We don't have arm64 packages for `rapids-doc-env`, so only run the doc builds for x86_64

Authors:
   - Ray Douglass (https://github.com/raydouglass)

Approvers:
   - AJ Schmidt (https://github.com/ajschmidt8)
  • Loading branch information
raydouglass authored Apr 1, 2022
1 parent bdefaaa commit c509483
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ gpuci_mamba_retry install -y -c conda-forge -c rapidsai -c rapidsai-nightly -c n
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=${UCX_PY_VERSION}" \
"rapids-build-env=${MINOR_VERSION}.*" \
"rapids-notebook-env=${MINOR_VERSION}.*" \
"rapids-doc-env=${MINOR_VERSION}.*"
"rapids-notebook-env=${MINOR_VERSION}.*"

if [ "$(arch)" = "x86_64" ]; then
gpuci_mamba_retry install -c conda-forge -c rapidsai -c rapidsai-nightly -c nvidia \
"rapids-doc-env=${MINOR_VERSION}.*"
fi

# Install the master version of dask, distributed, and dask-ml
gpuci_logger "Install the master version of dask and distributed"
Expand Down Expand Up @@ -134,5 +138,7 @@ gpuci_logger "Python pytest for pylibraft"
cd "$WORKSPACE/python/pylibraft"
python -m pytest --cache-clear --junitxml="$WORKSPACE/junit-pylibraft.xml" -v -s

gpuci_logger "Building docs"
"$WORKSPACE/build.sh" docs -v
if [ "$(arch)" = "x86_64" ]; then
gpuci_logger "Building docs"
"$WORKSPACE/build.sh" docs -v
fi

0 comments on commit c509483

Please sign in to comment.