Added workflow to build sample and overlays for posix and stm32h7 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2024, Victor Chavez | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2 | |
env: | |
CMAKE_PREFIX_PATH: /opt/toolchains | |
ZEPHYR_VERSION: v3.6-branch | |
# Board to use with renode | |
BOARD: native_posix_64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Initialize | |
run: | | |
cd /tmp/ | |
west init | |
west update -o=--depth=1 -n | |
- name: Build PoC | |
working-directory: /tmp/ | |
run: | | |
west build $GITHUB_WORKSPACE/samples/ifm_sample_app -b $BOARD --build-dir $GITHUB_WORKSPACE/build |