summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-09-19 19:13:21 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-01 21:12:04 +0300
commit94564b8f1a073a157f5698bf49cdea075dacc790 (patch)
treebc05c8439943cbbd00abbc8ce56553d10660d32e /azure-pipelines.yml
parent5b422fce87826beff3bca85e9c9081f22b3f45b7 (diff)
downloadmeson-94564b8f1a073a157f5698bf49cdea075dacc790.tar.gz
azure: Install python[23]-devel packages on Cygwinpy2optional
Install python[23]-devel packages on Cygwin, so that python tests which require that can run. (Only the default version of python (currently 3.6) provides the /usr/lib/pkgconfig/python3.pc file we are looking for so also update to that version)
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 55b6972a5..497c09b04 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -122,20 +122,21 @@ jobs:
librhash0,^
libuv1,^
ninja,^
- python35-pip,^
+ python2-devel,^
+ python3-devel,^
+ python36-pip,^
vala,^
wget,^
cmake,^
zlib-devel
displayName: Install Dependencies
- script: |
- %CYGWIN_ROOT%\bin\python3.5m.exe -m pip --disable-pip-version-check install pytest-xdist
+ set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
+ env.exe -- python3 -m pip --disable-pip-version-check install pytest-xdist
displayName: pip install pytest-xdist
- script: |
set BOOST_ROOT=
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
- # FIXME: we need to support systems without unversioned `python3`
- cp /usr/bin/python3.5 /usr/bin/python3
env.exe -- python3 run_tests.py --backend=ninja
displayName: Run Tests
- task: CopyFiles@2