]> granicus.if.org Git - graphviz/commitdiff
call Python script for Windows CI compilation instead of PowerShell
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 May 2021 16:50:59 +0000 (09:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 May 2021 18:28:08 +0000 (11:28 -0700)
Following the previous commit, ci/build_windows.py provides a drop in
replacement for the PowerShell script previously used for compilation.

.gitlab-ci.yml

index 4c286db95deb9491df67f3a07e6fece299a9f2b7..20d2161d346bb1100fe579f2370aebe8ec8a4c8b 100644 (file)
@@ -140,7 +140,8 @@ portable-source:
         # Build
         - Set-ExecutionPolicy Bypass -Force -Scope Process
         - $logfile = New-TemporaryFile
-        - windows/bin/setup-and-build.ps1 -buildsystem $env:build_system -platform $Env:project_platform -configuration $env:configuration 2>&1 | tee $logfile
+        - windows/bin/setup-build-utilities.ps1 2>&1 | tee $logfile
+        - python ci/build_windows.py --build-system $env:build_system --platform $Env:project_platform --configuration $env:configuration 2>&1 | tee -a $logfile
         - $warnings_count = Invoke-Expression "grep -c ' warning ' $logfile"
         - echo "$CI_JOB_NAME-warnings $warnings_count" > metrics.txt
         - rm $logfile