Skip to content
Snippets Groups Projects
Commit fbd8c07e authored by Maxence Naud's avatar Maxence Naud
Browse files

Update cibuildwheel_windows.gitlab-ci.yml

parent 88a11a0a
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ release:pip:windows: ...@@ -51,7 +51,7 @@ release:pip:windows:
- choco install python -y - choco install python -y
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# Explicitly set up Visual Studio environment # Explicitly set up Visual Studio environment
- $vsPath = "C:\Program Files\Microsoft Visual Studio\2022\BuildTools" - call "C:\Program Files\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\VsDevCmd.bat"
- Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" - Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
- Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation - Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation
- py -m pip install cibuildwheel==2.22.0 - py -m pip install cibuildwheel==2.22.0
...@@ -60,7 +60,7 @@ release:pip:windows: ...@@ -60,7 +60,7 @@ release:pip:windows:
- !reference [.windows:download:repositories, before_script] - !reference [.windows:download:repositories, before_script]
script: script:
- $env:CMAKE_GENERATOR = "NMake Makefiles" - $env:CMAKE_GENERATOR = "Visual Studio 17 2022"
- python -m cibuildwheel --output-dir wheelhouse --platform windows --verbose - python -m cibuildwheel --output-dir wheelhouse --platform windows --verbose
......
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