Azure: fix build with uavcan support

This commit is contained in:
bugobliterator 2020-03-13 17:01:59 +11:00 committed by Peter Barker
parent 9de3a24011
commit 2a74f8a687
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,8 @@ jobs:
displayName: 'Install Cygwin packages'
- script: git submodule update --recursive --init modules/mavlink
displayName: Initialize MAVLink submodule
- script: git submodule update --recursive --init modules/uavcan
displayName: 'Initialize UAVCAN submodule'
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%')/modules/mavlink/pymavlink && python setup.py build install --user"
displayName: 'Install pymavlink from submodule'
- script: C:\Cygwin\bin\bash --login -c "pip install MAVProxy"

View File

@ -8,8 +8,10 @@ jobs:
- script: choco install cygwin --params "/InstallDir:C:\Cygwin /NoStartMenu /NoAdmin"
displayName: 'Install Cygwin'
- script: choco install cygwin32-gcc-g++ python36 python36-future python36-lxml git gettext --source cygwin
- script: choco install cygwin32-gcc-g++ python36 python36-future python36-lxml python36-pip python-setuptools git libexpat procps gettext --source cygwin
displayName: 'Install Cygwin packages'
- script: C:\Cygwin\bin\bash --login -c "cd $(cygpath '%BUILD_SOURCESDIRECTORY%') && git submodule update --recursive --init --depth 2"
displayName: Initialize submodules
- script: C:\Cygwin\bin\bash --login -c "ln -s /usr/bin/python3.6 /usr/bin/python && ln -s /usr/bin/pip3.6 /usr/bin/pip"
displayName: 'Make Python 3.6 the default Python'