telem3-fw/.github/workflows/build.yml
Gerard Marull-Paretas 1c06a7f6c9 ci: pin runner and container versions
Make sure we can safely go back in time by pinning runner and container
versions.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-04 23:13:19 +09:00

42 lines
916 B
YAML

name: Build
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: example-application
- name: Initialize
working-directory: example-application
run: |
west init -l .
west update
- name: Build firmware
working-directory: example-application
run: |
west build -b custom_plank app
- name: Twister Tests
working-directory: example-application
run: |
west twister -T tests --integration
- name: Archive firmware
uses: actions/upload-artifact@v3
with:
name: firmware
path: example-application/build/zephyr/zephyr.*