Skip to content

Commit

Permalink
ENH Remove 'rapidsai-nightly' conda channel when building main branch (
Browse files Browse the repository at this point in the history
…#3825)

Remove `rapidsai-nightly` conda channel when building main branch

Authors:
  - Jordan Jacobelli (https://github.com/Ethyling)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #3825
  • Loading branch information
jjacobelli authored May 5, 2021
1 parent e125c62 commit 5d7ef22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

# Remove rapidsai-nightly channel if we are building main branch
if [ "$SOURCE_BRANCH" = "main" ]; then
conda config --system --remove channels rapidsai-nightly
fi

gpuci_logger "Check compiler versions"
python --version
$CC --version
Expand Down

0 comments on commit 5d7ef22

Please sign in to comment.