Skip to content

Build application in sdk-nrf-toolchain docker image #26

Build application in sdk-nrf-toolchain docker image

Build application in sdk-nrf-toolchain docker image #26

Workflow file for this run

name: Build app in NCS docker container
on:
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
container: jangalda/draft-ncs-toolchain:0.4
defaults:
run:
shell: bash
steps:
- name: Checkout repository with example application
uses: actions/checkout@v4
with:
path: example-application
- name: Prepare west project
run: |
west init -l example-application
west update -o=--depth=1 -n
- name: Build firmware
working-directory: example-application
run: |
west twister -T app -v --inline-logs --integration
- name: Store hex files
uses: actions/upload-artifact@v4
with:
name: built-applications
path: example-application/twister-out/**/zephyr/zephyr.hex
- name: Twister Tests
working-directory: example-application
run: |
west twister -T tests -v --inline-logs --integration