Deleted demo build, added matrix build for samples #15
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 Samples | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
read_pd: | ||
runs-on: ubuntu-22.04 | ||
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2 | ||
env: | ||
CMAKE_PREFIX_PATH: /opt/toolchains | ||
strategy: | ||
Check failure on line 17 in .github/workflows/samples_build.yml GitHub Actions / Build SamplesInvalid workflow file
|
||
matrix: | ||
board: ["esp32","nrf52833dk_nrf52833"] | ||
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 | ||
working-directory: /tmp/ | ||
run: | | ||
west build $GITHUB_WORKSPACE/samples/read_pd -b ${{ matrix.board }} --build-dir $GITHUB_WORKSPACE/build |