Skip to content

Commit

Permalink
Merge pull request #34 from robotology/fixci
Browse files Browse the repository at this point in the history
Fix conda-ci GitHub Action CI by using mambaforge directly
  • Loading branch information
traversaro authored Jan 18, 2023
2 parents 45e7e1e + f3e79f8 commit d4da73f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,15 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge,robotology
channel-priority: true
miniforge-variant: Mambaforge
miniforge-version: latest

- 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 robotology yarp librealsense
mamba install cmake compilers make ninja pkg-config yarp librealsense
- name: Configure [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
Expand Down

0 comments on commit d4da73f

Please sign in to comment.