Skip to content
This repository was archived by the owner on Jul 16, 2019. It is now read-only.

Commit 4c1ff95

Browse files
committed
add ci fixes
1 parent 1e7a5fd commit 4c1ff95

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ci/gpu/build.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export CUDA_REL=${CUDA_VERSION%.*}
1818
# Set home to the job's workspace
1919
export HOME=$WORKSPACE
2020

21+
# Parse git describe
22+
export GIT_DESCRIBE_TAG=`git describe`
23+
export MINOR_VERSION=`echo $GIT_DESCRIBE_TAG | grep -o -E '([0-9]\.[0-9])'`
24+
2125
################################################################################
2226
# SETUP - Check environment
2327
################################################################################
@@ -37,10 +41,7 @@ $CC --version
3741
$CXX --version
3842

3943
logger "Setup new environment..."
40-
conda install -c rapidsai/label/cuda$CUDA_REL -c rapidsai-nightly/label/cuda$CUDA_REL -c nvidia/label/cuda$CUDA_REL -c conda-forge \
41-
'cudf=0.7*' \
42-
'pyarrow=0.12.1' \
43-
'dask>=1.1.5'
44+
conda install "cudf=$MINOR_VERSION.*" "dask>=1.1.5"
4445
pip install git+https://github.com/dask/dask.git --upgrade --no-deps
4546

4647
conda list

0 commit comments

Comments
 (0)