Skip to content

Commit

Permalink
circleci: replace mambaforge with miniforge3 (#84)
Browse files Browse the repository at this point in the history
+ .circleci/config.yml: replace mambaforge with miniforge3

+ .github: add release.yml to ignore contributions by bots in release notes
  • Loading branch information
yunjunz authored Mar 10, 2024
1 parent cd23bae commit 4deebdf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ jobs:
docker:
- image: ubuntu:bionic
environment:
CONDA_PREFIX: /root/tools/mambaforge
CONDA_PREFIX: /root/tools/miniforge
PYSOLID_HOME: /root/tools/PySolid
user: root
working_directory: /root/tools/PySolid
# Checkout the code as the first step. This is a dedicated CircleCI step.
steps:
- checkout
- run:
name: Setting Environment with Mambaforge
name: Setting Environment with Miniforge
command: |
apt update
apt-get update --yes && apt-get upgrade --yes
apt-get install --yes wget git
# download and install mambaforge
# download and install miniforge
mkdir -p ${HOME}/tools
cd ${HOME}/tools
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
bash Mambaforge-Linux-x86_64.sh -b -p ${HOME}/tools/mambaforge
${HOME}/tools/mambaforge/bin/mamba init bash
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh -b -p ${HOME}/tools/miniforge
${HOME}/tools/miniforge/bin/mamba init bash
# modify/export env var PATH to BASH_ENV to be shared across run steps
echo 'export PATH=${CONDA_PREFIX}/bin:${PATH}' >> ${BASH_ENV}
Expand Down
7 changes: 7 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# .github/release.yml

changelog:
exclude:
authors:
- dependabot
- pre-commit-ci

0 comments on commit 4deebdf

Please sign in to comment.