Skip to content

add auto protocol check support #8

add auto protocol check support

add auto protocol check support #8

Workflow file for this run

name: dronecan_sitl
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
sitl:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install dependencies
run: |
pip install -r requirements.txt
sudo apt-get install -y gcc-arm-none-eabi linux-modules-extra-$(uname -r)
- name: Build SITL DroneCAN
run: make sitl_dronecan
- name: Run SITL for 5 seconds
run: timeout 5s make run || res=$?; if [[ $res -ne 124 && $res -ne 0 ]]; then exit $res; fi