Skip to content

Commit 642d244

Browse files
authored
CI: Use Miniforge over Mambaforge (#59357)
* CI: Use Miniforge over Mambaforge * unbound variable * Unbound variable * Remove unset flag * Missing 3
1 parent d530525 commit 642d244

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

.circleci/config.yml

+17-22
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
- checkout
1616
- run:
1717
name: Install Environment and Run Tests
18-
shell: /bin/bash -exuo pipefail
18+
shell: /bin/bash -exo pipefail
1919
command: |
20-
MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-24.3.0-0-Linux-aarch64.sh"
21-
wget -q $MAMBA_URL -O minimamba.sh
22-
chmod +x minimamba.sh
23-
MAMBA_DIR="$HOME/miniconda3"
24-
rm -rf $MAMBA_DIR
25-
./minimamba.sh -b -p $MAMBA_DIR
26-
export PATH=$MAMBA_DIR/bin:$PATH
20+
MINI_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-aarch64.sh"
21+
wget -q $MINI_URL -O Miniforge3.sh
22+
chmod +x Miniforge3.sh
23+
MINI_DIR="$HOME/miniconda3"
24+
rm -rf $MINI_DIR
25+
./Miniforge3.sh -b -p $MINI_DIR
26+
export PATH=$MINI_DIR/bin:$PATH
2727
conda info -a
2828
conda env create -q -n pandas-dev -f $ENV_FILE
2929
conda list -n pandas-dev
@@ -97,21 +97,16 @@ jobs:
9797

9898
- run:
9999
name: Install Anaconda Client & Upload Wheels
100+
shell: /bin/bash -exo pipefail
100101
command: |
101-
echo "Install Mambaforge"
102-
MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-24.3.0-0-Linux-aarch64.sh"
103-
echo "Downloading $MAMBA_URL"
104-
wget -q $MAMBA_URL -O minimamba.sh
105-
chmod +x minimamba.sh
106-
107-
MAMBA_DIR="$HOME/miniconda3"
108-
rm -rf $MAMBA_DIR
109-
./minimamba.sh -b -p $MAMBA_DIR
110-
111-
export PATH=$MAMBA_DIR/bin:$PATH
112-
113-
mamba install -y -c conda-forge anaconda-client
114-
102+
MINI_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-aarch64.sh"
103+
wget -q $MINI_URL -O Miniforge3.sh
104+
chmod +x Miniforge3.sh
105+
MINI_DIR="$HOME/miniconda3"
106+
rm -rf $MINI_DIR
107+
./Miniforge3.sh -b -p $MINI_DIR
108+
export PATH=$MINI_DIR/bin:$PATH
109+
conda install -y -c conda-forge anaconda-client
115110
source ci/upload_wheels.sh
116111
set_upload_vars
117112
upload_wheels

0 commit comments

Comments
 (0)