telem3-fw/.github/workflows/build.yml
Fabio Baltieri 2143dd9c0b ci: use shallow fetch and no tags
Add a couple flags to west update to do shallow fetch for both the main
repo and modules, and don't fetch any tags. Should speed things up a bit
by only fetching the target version code for all modules.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-14 18:58:07 +00:00

36 lines
782 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 -o=--depth=1 -n
- name: Build firmware
working-directory: example-application
run: |
west twister -T app -v --inline-logs --integration
- name: Twister Tests
working-directory: example-application
run: |
west twister -T tests --integration