]> granicus.if.org Git - graphviz/commitdiff
ci: install python with nuget in windows-cygwin-build-using-autogen job
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 22:34:55 +0000 (23:34 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 16:13:57 +0000 (17:13 +0100)
.gitlab-ci.yml

index 976ec700a763c829f9b942098b65b8ea8da854de..22763b53a69bad437f4ff4270bcc246898b73fe5 100644 (file)
@@ -586,8 +586,8 @@ windows-cygwin-build-using-autogen:
         - Add-MpPreference -ExclusionPath 'C:\'
         - choco config set cacheLocation choco-cache
         - choco install --yes --no-progress cygwin
-        - choco install --yes --no-progress --params "/InstallDir:C:\Python3" python3
-        - $env:Path = "C:\Python3;" + $env:Path
+        - nuget install python -ExcludeVersion -OutputDirectory C:\
+        - $env:Path = "C:\python\tools;" + $env:Path
         - python gen_version.py --output GRAPHVIZ_VERSION
         - $Env:build_system = "autotools"
         - $Env:use_autogen = "yes"