mirror of https://github.com/ArduPilot/ardupilot
.github: add canard generator test in CI
This commit is contained in:
parent
6fb0571f5c
commit
8f11c3b3a5
|
@ -44,6 +44,11 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y gcc-multilib g++-multilib
|
apt-get install -y gcc-multilib g++-multilib
|
||||||
|
|
||||||
|
- name: run canard dsdlc generator test
|
||||||
|
run: |
|
||||||
|
PATH="/github/home/.local/bin:$PATH"
|
||||||
|
python Tools/canard_dsdlc/canard_dsdlc.py -O dsdlc_generated libraries/AP_UAVCAN/dsdl/ardupilot modules/pyuavcan/uavcan/dsdl_files/uavcan --run-test
|
||||||
|
|
||||||
- name: build sitl_periph_gps
|
- name: build sitl_periph_gps
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
1
wscript
1
wscript
|
@ -39,6 +39,7 @@ except ImportError:
|
||||||
def sp_run(*popenargs, **kwargs):
|
def sp_run(*popenargs, **kwargs):
|
||||||
input = kwargs.pop("input", None)
|
input = kwargs.pop("input", None)
|
||||||
check = kwargs.pop("handle", False)
|
check = kwargs.pop("handle", False)
|
||||||
|
kwargs.pop("capture_output", True)
|
||||||
if input is not None:
|
if input is not None:
|
||||||
if 'stdin' in kwargs:
|
if 'stdin' in kwargs:
|
||||||
raise ValueError('stdin and input arguments may not both be used.')
|
raise ValueError('stdin and input arguments may not both be used.')
|
||||||
|
|
Loading…
Reference in New Issue