Skip to content

Adding mecanum wheels handling to firmware for Husarion core2 board #9

Adding mecanum wheels handling to firmware for Husarion core2 board

Adding mecanum wheels handling to firmware for Husarion core2 board #9

Workflow file for this run

name: core2_firmware CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
clang-format-check:
name: Clang-format formatting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check.
uses: jidicula/[email protected]
with:
clang-format-version: '14'
include-regex: ^.*\.(cpp|hpp)$
build:
name: Build the project
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
submodules: true
- name: Prepare environment
run: |
sudo apt install gcc-arm-none-eabi
wget http://files.fictionlab.pl/husarion/Husarion_SDK-stable.zip
unzip Husarion_SDK-stable.zip -d hFramework
mkdir build
- name: Configure and build the project
uses: threeal/[email protected]
with:
run-build: true
options: HFRAMEWORK_PATH=hFramework