1---
2
3name: Zephyr
4
5# 'workflow_dispatch' allows running this workflow manually from the
6# 'Actions' tab
7# yamllint disable-line rule:truthy
8on: [push, pull_request, workflow_dispatch]
9
10jobs:
11  zephyr-build:
12    runs-on: ubuntu-20.04
13    steps:
14      - uses: actions/checkout@v2
15        # From time to time this will catch a git tag and change SOF_VERSION
16        with: {fetch-depth: 10, submodules: recursive}
17
18      - name: build
19        run: docker run -v "$(pwd)":/workdir
20             -e ZEPHYR_SDK_INSTALL_DIR='/opt/toolchains/zephyr-sdk-0.13.0'
21             docker.io/zephyrprojectrtos/zephyr-build:v0.18.3
22             ./zephyr/docker-build.sh
23