-
Notifications
You must be signed in to change notification settings - Fork 19
83 lines (73 loc) · 1.97 KB
/
main.yml
File metadata and controls
83 lines (73 loc) · 1.97 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# @copyright Copyright (c) contributors to Project Ocre,
# which has been established as Project Ocre a Series of LF Projects, LLC
#
# SPDX-License-Identifier: Apache-2.0
name: Main
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
push:
branches:
- main
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}@main-${{ github.ref }}
cancel-in-progress: true
jobs:
linux-devcontainer:
name: Linux devcontainer
uses: ./.github/workflows/devcontainer-linux.yml
secrets: inherit
permissions:
contents: read
packages: write
zephyr-devcontainer:
name: Zephyr devcontainer
uses: ./.github/workflows/devcontainer-zephyr.yml
secrets: inherit
permissions:
contents: read
packages: write
format-checks:
name: Formatting checks
needs:
- linux-devcontainer
uses: ./.github/workflows/formatting-checks.yml
secrets: inherit
with:
devcontainer-tag: ${{ needs.linux-devcontainer.outputs.devcontainer-tag }}
linux:
name: Linux
needs:
- linux-devcontainer
uses: ./.github/workflows/linux.yml
secrets: inherit
with:
devcontainer-tag: ${{ needs.linux-devcontainer.outputs.devcontainer-tag }}
zephyr:
name: Zephyr
needs:
- zephyr-devcontainer
uses: ./.github/workflows/zephyr.yml
secrets: inherit
with:
devcontainer-tag: ${{ needs.zephyr-devcontainer.outputs.devcontainer-tag }}
zephyr-systests:
name: Zephyr System Tests
needs:
- zephyr-devcontainer
uses: ./.github/workflows/zephyr-systests.yml
secrets: inherit
with:
devcontainer-tag: ${{ needs.zephyr-devcontainer.outputs.devcontainer-tag }}
hardware-b_u585i_iot02a:
name: Hardware b_u585i_iot02a
needs:
- zephyr-devcontainer
uses: ./.github/workflows/hardware-bu585.yml
secrets: inherit
with:
devcontainer-tag: ${{ needs.zephyr-devcontainer.outputs.devcontainer-tag }}