diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index 0acca37019..d9d6f78666 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -41,7 +41,7 @@ jobs: liblie-group-controllers eigen qhull "casadi>=3.5.5" cppad spdlog \ nlohmann_json manif manifpy pybind11 numpy pytest scipy opencv pcl \ tomlplusplus libunicycle-footstep-planner "icub-models>=1.23.4" \ - ros-humble-rclcpp onnxruntime-cpp libbayes-filters-lib + ros-humble-rclcpp onnxruntime-cpp libbayes-filters-lib cmake-package-check - name: Linux-only Dependencies [Linux] if: contains(matrix.os, 'ubuntu') @@ -80,7 +80,7 @@ jobs: run: | mkdir -p build cd build - cmake -GNinja -DBUILD_TESTING:BOOL=ON -DFRAMEWORK_COMPILE_IK:BOOL=OFF \ + cmake -GNinja -DBUILD_TESTING:BOOL=ON -DFRAMEWORK_COMPILE_IK:BOOL=OFF -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \ -DFRAMEWORK_COMPILE_PYTHON_BINDINGS:BOOL=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. - name: Build [Linux&macOS] @@ -103,7 +103,7 @@ jobs: run: | mkdir -p build cd build - cmake -GNinja -DBUILD_TESTING:BOOL=ON -DFRAMEWORK_COMPILE_PYTHON_BINDINGS:BOOL=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. + cmake -GNinja -DBUILD_TESTING:BOOL=ON -DFRAMEWORK_COMPILE_PYTHON_BINDINGS:BOOL=ON -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. - name: Build [Windows] if: contains(matrix.os, 'windows') @@ -118,3 +118,10 @@ jobs: run: | cd build ctest --output-on-failure -C ${{ matrix.build_type }} + + - name: Install and test installed package + shell: bash -l {0} + run: | + cd build + cmake --install . --config ${{ matrix.build_type }} + cmake-package-check BipedalLocomotionFramework