Skip to content

Commit

Permalink
Switch CI to use setup-micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Oct 17, 2023
1 parent 85cb034 commit 9062fc3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/conda-forge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v1
with:
mamba-version: "*"
channels: conda-forge,robotology
channel-priority: true
environment-file: ci_env.yml

- uses: rlespinasse/github-slug-action@v3.x

- name: Dependencies
shell: bash -l {0}
run: |
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/186
conda config --remove channels defaults
# Compilation related dependencies
mamba install cmake compilers make ninja pkg-config
# Actual dependencies
mamba install -c conda-forge -c robotology yarp
- name: Configure [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
shell: bash -l {0}
Expand Down
10 changes: 10 additions & 0 deletions ci_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: yarpdevicexsensmtdev
channels:
- conda-forge
dependencies:
- cmake
- compilers
- make
- ninja
- pkg-config
- yarp

0 comments on commit 9062fc3

Please sign in to comment.