From fcd608c13128dd97021356c005a1be2936862dad Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Fri, 1 Mar 2019 19:49:17 +0100 Subject: azure: Fix python3 in vs2017 tasks --- azure-pipelines.yml | 5 +++++ ci/azure-steps.yml | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 186f77c6c..5a7c6acdc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,6 +50,11 @@ jobs: backend: ninja steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.5' + addToPath: true + architecture: 'x64' - template: ci/azure-steps.yml - job: cygwin diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index 71642f041..6fe1831e0 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -142,9 +142,16 @@ steps: MSBuild /version } + echo "=== PATH BEGIN ===" + echo ($env:Path).Replace(';',"`n") + echo "=== PATH END ===" + echo "" + echo "Locating Python:" where.exe python python --version + echo "" + echo "=== Start running tests ===" python run_tests.py --backend $(backend) - task: PublishTestResults@2 -- cgit v1.2.3