Skip to content

Commit

Permalink
removing pypi windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo committed Jul 24, 2024
1 parent 96282d9 commit a148cb4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pythonBindings-Pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a148cb4

Please sign in to comment.