fix recent windows build and add ubuntu-20.04 support #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cyphal_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 | |
pip install pytest yakut | |
sudo apt-get install -y gcc-arm-none-eabi linux-modules-extra-$(uname -r) | |
- run: make sitl_cyphal | |
- run: | | |
export REG_DATA_TYPE_PATH="$PWD/Libs/Cyphal/Libs/public_regulated_data_types/uavcan $PWD/Libs/Cyphal/Libs/public_regulated_data_types/reg" | |
make run & | |
cd scripts/tools/cyphal | |
source init.sh -i slcan0 -n 127 -v | |
./specification_checker.py |