aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-03-01 19:49:17 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-01 20:49:17 +0200
commitfcd608c13128dd97021356c005a1be2936862dad (patch)
tree36fe2a6595b09d5df06ac79c76c489c786b9ff27
parenta322dc534bbb466e95a833c1ec068cf31ae0e8c1 (diff)
downloadmeson-fcd608c13128dd97021356c005a1be2936862dad.zip
meson-fcd608c13128dd97021356c005a1be2936862dad.tar.gz
meson-fcd608c13128dd97021356c005a1be2936862dad.tar.bz2
azure: Fix python3 in vs2017 tasks
-rw-r--r--azure-pipelines.yml5
-rw-r--r--ci/azure-steps.yml7
2 files changed, 12 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 186f77c..5a7c6ac 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 71642f0..6fe1831 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