Skip to content

Commit 0d1f8fc

Browse files
committed
Install conda build dependencies in CI workflow file
1 parent cc7d2dd commit 0d1f8fc

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/httomolibgpu_version_tag.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,21 @@ jobs:
2727
with:
2828
python-version: '3.11'
2929

30-
# install dependencies with conda
31-
- name: Install dependencies with conda
30+
# setup conda
31+
- name: Setup conda
3232
uses: mamba-org/setup-micromamba@v2
3333
with:
3434
environment-name: httomolibgpu
3535
environment-file: ./conda/environment.yml
3636
post-cleanup: 'all'
3737
init-shell: bash
3838

39+
# install dependencies with conda
40+
- name: Install dependencies with conda
41+
run: |
42+
micromamba install -c conda-forge conda-build anaconda-client
43+
micromamba list
44+
3945
# install httomolibgpu
4046
- name: Install httomolibgpu
4147
run: |

.scripts/conda_upload.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ mkdir ~/conda-bld
99
conda config --set anaconda_upload no
1010
export CONDA_BLD_PATH=~/conda-bld
1111

12-
13-
$CONDA/bin/conda install conda-build
14-
$CONDA/bin/conda install -c conda-forge anaconda-client
15-
1612
$CONDA/bin/conda build . -c conda-forge -c httomo --no-test
1713

1814
# upload packages to conda

0 commit comments

Comments
 (0)