Skip to content

Yann/feature/motors/get consumption #4683

Yann/feature/motors/get consumption

Yann/feature/motors/get consumption #4683

# Leka - LekaOS
# Copyright 2022 APF France handicap
# SPDX-License-Identifier: Apache-2.0
name: Build Targets
on:
push:
branches:
- develop
- main
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
#
# Mark: - Job - build_targets
#
build_target:
name: target
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
custom_target: ["LEKA_V1_2_DEV", "LEKA_DISCO"]
steps:
#
# Mark: - Setup
#
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup CI
uses: ./.github/actions/setup
with:
ccache_key: ${{ runner.os }}-ccache-build_target-(${{ matrix.custom_target }})
ccache_restore_keys: |
${{ runner.os }}-ccache-build_target-(${{ matrix.custom_target }})-
${{ runner.os }}-ccache-build_target-
${{ runner.os }}-ccache-
#
# Mark: - Config & build
#
- name: Config & build
id: config_build
uses: ./.github/actions/config_build
with:
target_board: ${{ matrix.custom_target }}
enable_log_debug: ON