Skip to content

Commit 96ad686

Browse files
authored
Switch to mambaforge for circleci (#48337)
1 parent 6165b64 commit 96ad686

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.circleci/setup_env.sh

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/bin/bash -e
22

3-
echo "Install Miniconda"
4-
CONDA_URL="https://github.com/conda-forge/miniforge/releases/download/4.14.0-0/Miniforge3-4.14.0-0-Linux-aarch64.sh"
5-
echo "Downloading $CONDA_URL"
6-
wget -q $CONDA_URL -O miniconda.sh
7-
chmod +x miniconda.sh
3+
echo "Install Mambaforge"
4+
MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/4.14.0-0/Mambaforge-4.14.0-0-Linux-aarch64.sh"
5+
echo "Downloading $MAMBA_URL"
6+
wget -q $MAMBA_URL -O minimamba.sh
7+
chmod +x minimamba.sh
88

9-
MINICONDA_DIR="$HOME/miniconda3"
10-
rm -rf $MINICONDA_DIR
11-
./miniconda.sh -b -p $MINICONDA_DIR
9+
MAMBA_DIR="$HOME/miniconda3"
10+
rm -rf $MAMBA_DIR
11+
./minimamba.sh -b -p $MAMBA_DIR
1212

13-
export PATH=$MINICONDA_DIR/bin:$PATH
13+
export PATH=$MAMBA_DIR/bin:$PATH
1414

1515
echo
1616
echo "which conda"
@@ -20,7 +20,7 @@ echo
2020
echo "update conda"
2121
conda config --set ssl_verify false
2222
conda config --set quiet true --set always_yes true --set changeps1 false
23-
conda install -y -c conda-forge -n base 'mamba>=0.21.2' pip setuptools
23+
mamba install -y -c conda-forge -n base pip setuptools
2424

2525
echo "conda info -a"
2626
conda info -a

0 commit comments

Comments
 (0)