Skip to content

feat(hepa-uv): Add the initial project for the HEPA/UV module #2420

feat(hepa-uv): Add the initial project for the HEPA/UV module

feat(hepa-uv): Add the initial project for the HEPA/UV module #2420

Workflow file for this run

name: "motor-control build/test"
on:
pull_request:
paths:
- "motor-control/**"
- "include/motor-control/**"
- "cmake/*"
- "!cmake/Arduino*"
- "CMakeLists.txt"
- "CMakePresets.json"
- ".clang-format"
- ".clang-tidy"
push:
paths:
- "motor-control/**"
- "include/motor-control/**"
- "cmake/*"
- "!cmake/Arduino*"
- "CMakeLists.txt"
- "CMakePresets.json"
- ".clang-format"
- ".clang-tidy"
- ".github/workflows/common.yaml"
branches:
- "*"
tags:
- "motor-control@*"
workflow_dispatch:
env:
ci: 1
defaults:
run:
shell: bash
jobs:
host-compile-test:
name: "Host-Compile/Test"
runs-on: "ubuntu-20.04"
timeout-minutes: 10
steps:
- run: |
sudo apt update
sudo apt install gcc-10 g++-10
- uses: "actions/checkout@v2"
with:
fetch-depth: 0
- uses: "actions/cache@v3"
with:
path: "./stm32-tools"
key: ${{ runner.os }}-${{ hashFiles('**/cmake/*') }}-${{ secrets.CACHE_VERSION }}
- name: "Configure"
run: cmake --preset=host-gcc10 .
- name: "Format check"
run: cmake --build ./build-host --target motor-control-format-ci
- name: "Build and test"
run: cmake --build ./build-host --target motor-control-build-and-test