Skip to content

Commit 3c246de

Browse files
committed
ci: Use the manifest to treat this an an app
This should allow the action-zephyr-setup to be able to fetch everything. Signed-off-by: David Brown <[email protected]>
1 parent c28bfb2 commit 3c246de

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2024 Linaro LTD
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
name: Build
25

36
# Build the rust samples and tests using the current Zephyr.
@@ -30,6 +33,7 @@ jobs:
3033
uses: zephyrproject-rtos/action-zephyr-setup@v1
3134
with:
3235
app-path: zephyr-rust-lang
36+
manifest-file-name: ci-manifest.yml
3337
toolchains: arm-zephyr-eabi
3438
# TODO: Also bring in riscv.
3539

ci-manifest.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2021 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Although this normally lives as a module, the local CI uses action-zephyr-setup which wants the
5+
# application to have a manifest.
6+
7+
manifest:
8+
remotes:
9+
- name: zephyrproject-rtos
10+
url-base: https://github.com/zephyrproject-rtos
11+
12+
projects:
13+
- name: zephyr
14+
remote: zephyrproject-rtos
15+
revision: main
16+
import:
17+
# By using name-allowlist we can clone only the modules that are
18+
# strictly needed by the application.
19+
name-allowlist:
20+
- cmsis # required by the ARM port
21+
- hal_nordic # required by the custom_plank board (Nordic based)
22+
- hal_stm32 # required by the nucleo_f302r8 board (STM32 based)

0 commit comments

Comments
 (0)