Skip to content

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

Adding mecanum wheels handling to firmware for Husarion core2 board

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

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
- name: Prepare environment
run: |
mkdir build
wget http://files.fictionlab.pl/husarion/Husarion_SDK-stable.zip
unzip Husarion_SDK-stable.zip -d hFramework
sudo apt install gcc-arm-none-eabi
- name: Configure and build the project
uses: threeal/[email protected]
with:
run-build: true
options: HFRAMEWORK_PATH=hFramework