summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-build-windows.yml
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2023-01-10 17:14:35 +0100
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2023-01-10 17:14:35 +0100
commit2ee42848aba062b891c133eb358d6b105fa5bc67 (patch)
tree1165d6e8aad1527a5fd1c8b644e31bdb1d7edc48 /.github/workflows/pip-build-windows.yml
parent0a05c7dfa06c1ddb3ceb3d6ab82bc40e1aeef0ef (diff)
build without virtual environment isolation. Test delvewheel to repair whell on windows
Diffstat (limited to '.github/workflows/pip-build-windows.yml')
-rw-r--r--.github/workflows/pip-build-windows.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/pip-build-windows.yml b/.github/workflows/pip-build-windows.yml
index 00820eb0..4455e6af 100644
--- a/.github/workflows/pip-build-windows.yml
+++ b/.github/workflows/pip-build-windows.yml
@@ -25,22 +25,17 @@ jobs:
vcpkg version
ls "C:\vcpkg\installed\x64-windows\bin\"
python -m pip install --user -r .\ext\gudhi-deploy\build-requirements.txt
- python -m pip install --user build
- python -m pip list
+ python -m pip install --user build delvewheel
- name: Build python wheel and install it
run: |
mkdir build
cd ".\build\"
cmake -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON -DCMAKE_TOOLCHAIN_FILE=c:\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..
- Get-Location
- dir
cd ".\src\python\"
- cp "C:\vcpkg\installed\x64-windows\bin\mpfr*.dll" ".\gudhi\"
- cp "C:\vcpkg\installed\x64-windows\bin\gmp*.dll" ".\gudhi\"
- python -m build
+ python -m build -n
ls ".\dist\"
cd ".\dist\"
- Get-ChildItem *.whl | ForEach-Object{python -m pip install --user $_.Name}
+ Get-ChildItem *.whl | ForEach-Object{delvewheel show $_.Name; delvewheel repair $_.Name; python -m pip install --user $_.Name}
- name: Test python wheel
run: |
Get-Location