Skip to content

Commit

Permalink
ci: Use the manifest to treat this an an app
Browse files Browse the repository at this point in the history
This should allow the action-zephyr-setup to be able to fetch
everything.

Signed-off-by: David Brown <[email protected]>
  • Loading branch information
d3zd3z committed Sep 12, 2024
1 parent c28bfb2 commit 3c246de
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2024 Linaro LTD
# SPDX-License-Identifier: Apache-2.0

name: Build

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

Expand Down
22 changes: 22 additions & 0 deletions ci-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

# Although this normally lives as a module, the local CI uses action-zephyr-setup which wants the
# application to have a manifest.

manifest:
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos

projects:
- name: zephyr
remote: zephyrproject-rtos
revision: main
import:
# By using name-allowlist we can clone only the modules that are
# strictly needed by the application.
name-allowlist:
- cmsis # required by the ARM port
- hal_nordic # required by the custom_plank board (Nordic based)
- hal_stm32 # required by the nucleo_f302r8 board (STM32 based)

0 comments on commit 3c246de

Please sign in to comment.