From 118a6ca78e02c373e87c42543093281fda015849 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Thu, 27 Feb 2025 09:54:54 +0100 Subject: [PATCH] Do not run cmake-package-check on Windows under bash --- .github/workflows/conda-forge-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index 5342f8c4e6..5b9860196b 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -103,6 +103,13 @@ jobs: cd build ctest --output-on-failure -C ${{ matrix.build_type }} + - name: Install and test installed package [Linux&macOS] + shell: bash -l {0} + run: | + cd build + cmake --install . --config ${{ matrix.build_type }} + cmake-package-check BipedalLocomotionFramework --targets BipedalLocomotion::Framework + - name: Configure [Windows] if: contains(matrix.os, 'windows') shell: cmd /C call {0} @@ -125,8 +132,8 @@ jobs: cd build ctest --output-on-failure -C ${{ matrix.build_type }} - - name: Install and test installed package - shell: bash -l {0} + - name: Install and test installed package [Windows] + shell: cmd /C call {0} run: | cd build cmake --install . --config ${{ matrix.build_type }}