telem3-fw/.github/workflows/build.yml
Gerard Marull-Paretas ed8b4f4875 ci/readme: remove usage of -s legacy option
-s/--source is a legacy option. There's a proposal to actually use it
for something else in Zephyr now:

https://github.com/zephyrproject-rtos/zephyr/pull/40669

Let's update README.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-07-07 12:41:29 +02:00

35 lines
827 B
YAML

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: example-application
- name: Initialize
working-directory: example-application
run: |
pip3 install -U west
west init -l .
west update
pip3 install -r ../zephyr/scripts/requirements-base.txt
- name: Build firmware
working-directory: example-application
run: |
west build -b custom_plank app
- name: Archive firmware
uses: actions/upload-artifact@v2
with:
name: firmware
path: example-application/build/zephyr/zephyr.*