Skip to content

Deleted demo build, added matrix build for samples #15

Deleted demo build, added matrix build for samples

Deleted demo build, added matrix build for samples #15

Workflow file for this run

# 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

View workflow run for this annotation

GitHub Actions / Build Samples

Invalid workflow file

The workflow is not valid. .github/workflows/samples_build.yml (Line: 17, Col: 14): Unexpected value '' .github/workflows/samples_build.yml (Line: 18, Col: 5): Unexpected value 'matrix'
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