diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1e0c397..e4e63e7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ concurrency:
jobs:
test:
- name: Tests on ${{ matrix.arch }} with Conda Python-${{ matrix.python }}
+ name: Conda ${{ matrix.arch }} on ${{ matrix.os }} with Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
env:
CI: "1"
@@ -39,7 +39,7 @@ jobs:
run: |
rm -rf /usr/share/miniconda
rm -rf /usr/local/miniconda
- ./tools/bootstrap_base.sh ~/conda
+ ./tools/bootstrap_base.sh ~/conda ${{ matrix.arch }}
- name: Check Conda Config
run: |
diff --git a/tools/bootstrap_base.sh b/tools/bootstrap_base.sh
index 6dc28fc..df758fc 100755
--- a/tools/bootstrap_base.sh
+++ b/tools/bootstrap_base.sh
@@ -7,18 +7,25 @@ popd >/dev/null 2>&1
show_help () {
echo "" >&2
- echo "Usage: $0 " >&2
+ echo "Usage: $0 " >&2
echo "" >&2
}
base=$1
+arch=$2
if [ -z ${base} ]; then
show_help
exit 1
fi
-inst=$(eval "${scriptdir}/fetch_check.sh" https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh miniforge.sh)
+if [ -z ${arch} ]; then
+ arch="$(uname)-$(uname -m)"
+fi
+
+echo "Bootstrap conda base for architecture ${arch} ..."
+
+inst=$(eval "${scriptdir}/fetch_check.sh" https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-${arch}.sh miniforge.sh)
bash "${inst}" -b -f -p "${base}"