From af03601fdeb35f951139c49bad6e650cc7ece087 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 2 Apr 2019 10:41:17 -0400 Subject: [PATCH] Follow the proper Python instructions in https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/python?view=azure-devops for our Azure Pipelines file. --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d8ede2bd..aaf2445b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,9 +8,15 @@ jobs: workspace: clean: all steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.6' + architecture: 'x64' - script: | - sudo apt-get install -y libgtk-3-dev ninja-build python3-setuptools - sudo pip3 install meson + apt-get install -y libgtk-3-dev ninja-build + # Ubuntu typically comes with an outdated meson + python -m pip install --upgrade pip setuptools wheel + pip install meson displayName: 'Setup' - script: | meson setup build-shared --buildtype=release