From c50948353d0aa479065af706b062b990fa71b5fe Mon Sep 17 00:00:00 2001 From: Ray Douglass <3107146+raydouglass@users.noreply.github.com> Date: Fri, 1 Apr 2022 15:03:38 -0400 Subject: [PATCH] Only run doc builds for x86_64 (#607) 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) --- ci/gpu/build.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index 69d21a5bb4..b227d34e41 100644 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -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" @@ -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