mirror of https://github.com/ArduPilot/ardupilot
Azure: fix build with uavcan support
This commit is contained in:
parent
9de3a24011
commit
2a74f8a687
|
@ -14,6 +14,8 @@ jobs:
|
||||||
displayName: 'Install Cygwin packages'
|
displayName: 'Install Cygwin packages'
|
||||||
- script: git submodule update --recursive --init modules/mavlink
|
- script: git submodule update --recursive --init modules/mavlink
|
||||||
displayName: Initialize MAVLink submodule
|
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"
|
- 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'
|
displayName: 'Install pymavlink from submodule'
|
||||||
- script: C:\Cygwin\bin\bash --login -c "pip install MAVProxy"
|
- script: C:\Cygwin\bin\bash --login -c "pip install MAVProxy"
|
||||||
|
|
|
@ -8,8 +8,10 @@ jobs:
|
||||||
- script: choco install cygwin --params "/InstallDir:C:\Cygwin /NoStartMenu /NoAdmin"
|
- script: choco install cygwin --params "/InstallDir:C:\Cygwin /NoStartMenu /NoAdmin"
|
||||||
displayName: 'Install Cygwin'
|
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'
|
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"
|
- 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'
|
displayName: 'Make Python 3.6 the default Python'
|
||||||
|
|
Loading…
Reference in New Issue