Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Oct 13, 2021
1 parent 6cff201 commit 1a9ddcc
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,40 @@ jobs:
python-version: ${{ matrix.python }}
channels: conda-forge,robotology,defaults

- name: Mamba info
- name: "[all] Mamba info"
run: mamba info

- name: Mamba list
- name: "[all] Mamba list"
run: mamba list

- name: Dependencies
- name: "[all] Dependencies"
run: |
mamba install -y cmake compilers ninja pkg-config swig pybind11 pytest
mamba install -y mesa-libgl-devel-cos7-x86_64
mamba install -y gym scipy numpy lxml
mamba install -c robotology idyntree
mamba install -y libode
- name: Ignition Gazebo [stable]
- name: "[ubuntu] Dependencies"
if: contains(matrix.os, 'ubuntu')
run: mamba install -y mesa-libgl-devel-cos7-x86_64

- name: "[all|stable] Ignition Gazebo"
if: |
github.event_name == 'release' ||
github.ref == 'refs/heads/master' ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master')
run: mamba install -y libignition-gazebo6

- name: Ignition Gazebo [nightly]
- name: "[all|nightly] Ignition Gazebo"
if: |
(github.event_name == 'push' && github.ref != 'refs/heads/master') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'master')
run: mamba install -y libignition-gazebo6

- name: Mamba list
- name: "[all] Mamba list"
run: mamba list

- name: Configure CMake project
- name: "[all] Configure CMake project"
run: |
cmake \
-S scenario/ \
Expand All @@ -90,25 +93,25 @@ jobs:
-DSCENARIO_USE_IGNITION:BOOL=ON \
-DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX}
- name: Build CMake project
- name: "[all] Build CMake project"
run: cmake --build build/ --config ${{ matrix.build_type }}

- name: Install CMake project
- name: "[all] Install CMake project"
run: cmake --install build/

- name: Install Python packages
- name: "[all] Install Python packages"
run: |
pip install -e scenario/
echo ""
pip install -e .[all]
- name: Inspect Python bindings ABI (core)
- name: "[ubuntu] Inspect Python bindings ABI (core)"
if: contains(matrix.os, 'ubuntu')
run: ldd ${CONDA_PREFIX}/lib/python${{ matrix.python }}/site-packages/scenario/bindings/_core.so

- name: Inspect Python bindings ABI (gazebo)
- name: "[ubuntu] Inspect Python bindings ABI (gazebo)"
if: contains(matrix.os, 'ubuntu')
run: ldd ${CONDA_PREFIX}/lib/python${{ matrix.python }}/site-packages/scenario/bindings/_gazebo.so

- name: Test
- name: "[all] Test"
run: pytest

0 comments on commit 1a9ddcc

Please sign in to comment.