diff --git a/.gitlab/ci/windows_cpp.gitlab-ci.yml b/.gitlab/ci/windows_cpp.gitlab-ci.yml index 1d441128f9b0dbc9bc6d440a23aaf53c34e6d3b4..26784ed480312db3b15b39f5e9dd483dc28ec5ec 100644 --- a/.gitlab/ci/windows_cpp.gitlab-ci.yml +++ b/.gitlab/ci/windows_cpp.gitlab-ci.yml @@ -14,6 +14,7 @@ build:windows_cpp: #image: buildtools before_script: + - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") # 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 @@ -66,6 +67,7 @@ test:windows_cpp: # image: buildtools extends: .build:variable:aidge_install before_script: + - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") # 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 diff --git a/.gitlab/ci/windows_python.gitlab-ci.yml b/.gitlab/ci/windows_python.gitlab-ci.yml index ea79eb5ebbad9b3e32d58e8e73da1d2d8d604381..94676db7b6c3b988224da80fb7126f1a30c9e761 100644 --- a/.gitlab/ci/windows_python.gitlab-ci.yml +++ b/.gitlab/ci/windows_python.gitlab-ci.yml @@ -14,6 +14,7 @@ build:windows_python: # image: buildtools before_script: + - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") # 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