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

Fixed windows_python

parent 19edeb85
No related branches found
No related tags found
1 merge request!13More builds
Pipeline #32793 failed
......@@ -181,8 +181,18 @@ build:windows_python:
stage: build
needs: []
tags:
- docker
- windows
image: buildtools
before_script:
# Install Chocolatey
- Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install dependencies
- choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
- choco install git -Y
- choco install python -Y
# Update PATH
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script:
# Download dependencies
# aidge_core (CPP)
......@@ -199,6 +209,7 @@ build:windows_python:
# Numpy dependancy for unit test
- python3 -m pip install numpy
- export AIDGE_INSTALL=`pwd`/install
- export CMAKE_PREFIX_PATH=../install_cpp
- python3 -m pip install .
artifacts:
expire_in: 1 week
......
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