-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (49 loc) · 1.31 KB
/
ci-build_targets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# 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