Skip to content

Commit

Permalink
[nrf noup] Build application in sdk-nrf-toolchain docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jangalda-nsc committed Apr 25, 2024
1 parent 876361f commit 2366d14
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-ncs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build app in NCS docker container

on:
pull_request:

jobs:
build:

runs-on: ubuntu-22.04
container: jangalda/draft-ncs-toolchain:0.6
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

0 comments on commit 2366d14

Please sign in to comment.