sof/.github/workflows/zephyr.yml

23 lines
651 B
YAML

---
name: Zephyr
# 'workflow_dispatch' allows running this workflow manually from the
# 'Actions' tab
# yamllint disable-line rule:truthy
on: [push, pull_request, workflow_dispatch]
jobs:
zephyr-build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# From time to time this will catch a git tag and change SOF_VERSION
with: {fetch-depth: 10, submodules: recursive}
- name: build
run: docker run -v "$(pwd)":/workdir
-e ZEPHYR_SDK_INSTALL_DIR='/opt/toolchains/zephyr-sdk-0.13.0'
docker.io/zephyrprojectrtos/zephyr-build:v0.18.3
./zephyr/docker-build.sh