Skip to content

Commit 6eff9c4

Browse files
committed
ci: setup miniconda with conda-forge and remove defaults
1 parent f3105db commit 6eff9c4

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/ci-linux-osx-win-conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
with:
6262
miniforge-version: latest
6363
activate-environment: proxsuite
64+
channels: conda-forge
65+
conda-remove-defaults: "true"
6466

6567

6668
- name: Install dependencies [Conda]
6769
shell: bash -l {0}
6870
run: |
69-
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/186
70-
conda config --remove channels defaults
7171
# Compilation related dependencies
7272
conda install cmake compilers make pkg-config doxygen ninja graphviz typing_extensions llvm-openmp clang
7373
# Main dependencies

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ jobs:
1515
- uses: conda-incubator/setup-miniconda@v3
1616
with:
1717
miniforge-version: latest
18-
python-version: "3.10"
1918
activate-environment: doc
19+
channels: conda-forge
20+
conda-remove-defaults: "true"
2021

2122
- name: Dependencies
2223
shell: bash -l {0}
2324
run: |
24-
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/186
25-
conda config --remove channels defaults
26-
2725
# Compilation related dependencies
2826
conda install cmake make pkg-config doxygen graphviz
2927

.github/workflows/release-osx-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
miniforge-version: latest
4141
python-version: ${{ matrix.python-version }}
4242
activate-environment: proxsuite
43+
channels: conda-forge
44+
conda-remove-defaults: "true"
4345

4446
- name: Install dependencies [Conda]
4547
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
4648
shell: bash -l {0}
4749
run: |
48-
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/186
49-
conda config --remove channels defaults
5050
conda install doxygen graphviz eigen simde cmake compilers typing_extensions
5151
5252
- name: Print environment [Conda]

0 commit comments

Comments
 (0)