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.

This commit is contained in:
Pietro Gagliardi 2019-04-02 10:41:17 -04:00
parent 5ad39011ce
commit af03601fde
1 changed files with 8 additions and 2 deletions

View File

@ -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