From a148cb43a659787b2cb8e662ab871a2f202290b3 Mon Sep 17 00:00:00 2001 From: David Coeurjolly Date: Wed, 24 Jul 2024 14:39:01 +0200 Subject: [PATCH] removing pypi windows --- .github/workflows/pythonBindings-Pypi.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonBindings-Pypi.yml b/.github/workflows/pythonBindings-Pypi.yml index 3c84296ca4..e667dbbb58 100644 --- a/.github/workflows/pythonBindings-Pypi.yml +++ b/.github/workflows/pythonBindings-Pypi.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] + os: [ubuntu-latest, macOS-latest] python-version: ["3.9", "3.10", "3.11"] BUILD_TYPE: [Release] @@ -88,12 +88,16 @@ jobs: sed -i '' "1s/.*/VERSION = '${{ github.ref_name }}'/" dgtalVersion.py cat dgtalVersion.py + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + - name: Deps on Windows if: matrix.os == 'windows-latest' shell: bash - working-directory: ${{runner.workspace}} + working-directory: ${{runner.workspace}}/build run: | conan install $GITHUB_WORKSPACE --build=missing + cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} $CONFIG_PYTHON $CONFIG_GLOBAL $CONFIG_WINDOWS - name: Setting build informations (Windows) if: matrix.os == 'windows-latest'