Skip to content

Commit a148cb4

Browse files
committed
removing pypi windows
1 parent 96282d9 commit a148cb4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pythonBindings-Pypi.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [ubuntu-latest, macOS-latest, windows-latest]
25+
os: [ubuntu-latest, macOS-latest]
2626
python-version: ["3.9", "3.10", "3.11"]
2727
BUILD_TYPE: [Release]
2828

@@ -88,12 +88,16 @@ jobs:
8888
sed -i '' "1s/.*/VERSION = '${{ github.ref_name }}'/" dgtalVersion.py
8989
cat dgtalVersion.py
9090
91+
- name: Create Build Environment
92+
run: cmake -E make_directory ${{runner.workspace}}/build
93+
9194
- name: Deps on Windows
9295
if: matrix.os == 'windows-latest'
9396
shell: bash
94-
working-directory: ${{runner.workspace}}
97+
working-directory: ${{runner.workspace}}/build
9598
run: |
9699
conan install $GITHUB_WORKSPACE --build=missing
100+
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
97101
98102
- name: Setting build informations (Windows)
99103
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)