From 40797370182a24cd12162c2ac22dc5f2ad6b43b5 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 13:37:37 +0100 Subject: [PATCH 1/5] Debug --- .github/workflows/conda-forge-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index 0a7fa28..fa8aed2 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -30,6 +30,8 @@ jobs: shell: bash -l {0} run: | # Compilation related dependencies + which conda + which mamba mamba install cmake compilers make ninja pkg-config # Actual dependencies mamba install glew glfw yarp @@ -53,6 +55,7 @@ jobs: if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') shell: bash -l {0} run: | + env mkdir -p build cd build cmake -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. From 1cd3290b88e4323f044a42b664e27e8b98ec9bd5 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 13:39:30 +0100 Subject: [PATCH 2/5] Update conda-forge-ci.yml --- .github/workflows/conda-forge-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index fa8aed2..a730a89 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: build_type: [Release] - os: [ubuntu-latest, windows-2019, macos-latest] + os: [windows-2022, windows-2019] imgui: [mamba, vendored] fail-fast: false From c7cf9d7f62b8d6b3423447c023d8209686532c13 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 13:41:57 +0100 Subject: [PATCH 3/5] Update conda-forge-ci.yml --- .github/workflows/conda-forge-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index a730a89..0c6a496 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -30,8 +30,8 @@ jobs: shell: bash -l {0} run: | # Compilation related dependencies - which conda - which mamba + where conda + where mamba mamba install cmake compilers make ninja pkg-config # Actual dependencies mamba install glew glfw yarp From 64e8c80eba00711842b8d4e43edee50fa2a9fbad Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 13:44:31 +0100 Subject: [PATCH 4/5] Update conda-forge-ci.yml --- .github/workflows/conda-forge-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index 0c6a496..f9ddd93 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -55,19 +55,29 @@ jobs: if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') shell: bash -l {0} run: | - env mkdir -p build cd build cmake -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. - name: Configure [Windows] - if: contains(matrix.os, 'windows') + if: contains(matrix.os, 'windows-2019') shell: bash -l {0} run: | + env mkdir -p build cd build cmake -G"Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. + - name: Configure [Windows] + if: contains(matrix.os, 'windows-2022') + shell: bash -l {0} + run: | + env + mkdir -p build + cd build + cmake -G"Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. + + - name: Build shell: bash -l {0} run: | From 5b888c6d589157d8a5641914c4698800370c786f Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 14:40:55 +0100 Subject: [PATCH 5/5] Update conda-forge-ci.yml --- .github/workflows/conda-forge-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index f9ddd93..02a6427 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -35,6 +35,8 @@ jobs: mamba install cmake compilers make ninja pkg-config # Actual dependencies mamba install glew glfw yarp + mamba list + conda list - name: Imgui if: contains(matrix.imgui, 'mamba') @@ -64,6 +66,7 @@ jobs: shell: bash -l {0} run: | env + conda list mkdir -p build cd build cmake -G"Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..