Draft #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
# pull_request: | |
# schedule: | |
# - cron: "0 0 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/nrfconnect/sdk-nrf-toolchain:v2.6.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: example-application | |
- name: Initialize | |
shell: bash | |
run: | | |
nrfutil toolchain-manager launch /bin/bash -- -c '\ | |
west init -l example-application | |
west update -o=--depth=1 -n | |
' | |
- name: Build firmware | |
working-directory: example-application | |
shell: bash | |
run: | | |
nrfutil toolchain-manager launch /bin/bash -- -c '\ | |
west twister -T app -v --inline-logs --integration | |
' | |
- name: Twister Tests | |
working-directory: example-application | |
shell: bash | |
run: | | |
nrfutil toolchain-manager launch /bin/bash -- -c '\ | |
west twister -T tests -v --inline-logs --integration | |
' |