Skip to content

app: updates to build using latest main #19

app: updates to build using latest main

app: updates to build using latest main #19

Workflow file for this run

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: app
- name: Initialize
working-directory: app
run: |
pip3 install -U west
west init -l .
west update
pip3 install -r ../zephyr/scripts/requirements-base.txt
- name: Build firmware
working-directory: app
run: |
west build -b nrf52840dk/nrf52840 -s app
- name: Archive firmware
uses: actions/upload-artifact@v2
with:
name: firmware
path: app/build/zephyr/zephyr.*