Skip to content
Snippets Groups Projects
Commit 25e776b9 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed Windows Python

parent 9a0d79f2
No related branches found
No related tags found
1 merge request!13More builds
Pipeline #32806 failed
......@@ -205,11 +205,11 @@ build:windows_python:
- python -m pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- venv\Scripts\Activate.ps1
# Numpy dependancy for unit test
- python -m pip install numpy
- export AIDGE_INSTALL=`pwd`/install
- export CMAKE_PREFIX_PATH=../install_cpp
- $env:AIDGE_INSTALL = "$pwd" + "install"
- $env:CMAKE_PREFIX_PATH = "../install_cpp"
- python -m pip install .
artifacts:
expire_in: 1 week
......
......@@ -70,8 +70,8 @@ class CMakeBuild(build_ext):
self.spawn(['cmake', str(cwd), param_py, '-DTEST=OFF', f'-DCMAKE_INSTALL_PREFIX:PATH={install_path}'])
if not self.dry_run:
self.spawn(['cmake', '--build', '.', '-j', max_jobs])
self.spawn(['cmake', '--install', '.'])
self.spawn(['cmake', '--build', '.', '--config', 'Debug', '-j', max_jobs])
self.spawn(['cmake', '--install', '.', '--config', 'Debug'])
os.chdir(str(cwd))
aidge_package = build_lib / (get_project_name())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment