Skip to content
Snippets Groups Projects

Wrong gitlab runner for windows_python

Merged Olivier BICHLER requested to merge win_python into main
1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
@@ -132,6 +132,16 @@ build:windows_python:
@@ -132,6 +132,16 @@ build:windows_python:
tags:
tags:
- windows
- 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:
script:
- python3 -m pip install virtualenv
- python3 -m pip install virtualenv
- virtualenv venv
- virtualenv venv
Loading