Skip to content

Commit 2bdc701

Browse files
authored
[CI] Add conda TOS accept commands to allow inlined package installation (#3289)
This PR adds the Terms-of-Service acceptance command to the CI script so that we can install conda packages in CI jobs.
1 parent 2cdbe79 commit 2bdc701

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/task/build_lib.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export CCACHE_NOHASHDIR=1
99
export CCACHE_DIR=/ccache
1010

1111
# Temporary workaround to install ccache.
12+
if [[ ${GPU} != metal ]]; then
13+
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
14+
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
15+
fi
1216
conda install -c conda-forge ccache
1317

1418
if [[ ${GPU} != metal ]]; then

0 commit comments

Comments
 (0)