Commit 74f038f5 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Use OS_SLUG

parent 00ea7e51
Pipeline #25769 failed with stage
in 1 minute and 1 second
......@@ -15,8 +15,7 @@ run_cmd git clean -ffdx \
--exclude="miniconda.sh" \
--exclude="miniconda/pkgs/*.tar.bz2" \
--exclude="miniconda/pkgs/urls.txt" \
--exclude="miniconda/conda-bld/linux-64/*.tar.bz2" \
--exclude="miniconda/conda-bld/osx-64/*.tar.bz2" \
--exclude="miniconda/conda-bld/${OS_SLUG}/*.tar.bz2" \
--exclude="_ci" \
--exclude="dist/*.zip" \
--exclude="sphinx"
......@@ -187,6 +187,11 @@ set_conda_channels() {
}
if [ -z "${OS_SLUG}" ]; then
OS_SLUG="${OSNAME}-64"
fi
export_env OS_SLUG
log_env PYTHON_VERSION
check_env CI_PROJECT_DIR
check_env CI_PROJECT_NAME
......@@ -202,11 +207,6 @@ DOCSERVER=http://www.idiap.ch
# Sets up the location of our rc file for conda
CONDARC=${CONDA_ROOT}/condarc
if [ -z "${OS_SLUG}" ]; then
OS_SLUG="${OSNAME}-64"
fi
export_env OS_SLUG
export_env DOCSERVER
check_env CONDA_ROOT
export_env CONDARC
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment