[SOF-2.2] test mainline PR8216 #14690
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: 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} | |
# https://github.com/zephyrproject-rtos/docker-image | |
# Note: env variables can be passed to the container with | |
# -e https_proxy=... | |
- name: build | |
run: docker run -v "$(pwd)":/workdir | |
ghcr.io/zephyrproject-rtos/zephyr-build:latest | |
./zephyr/docker-build.sh --cmake-args=-DEXTRA_CFLAGS=-Werror | |
--cmake-args=--warn-uninitialized -a |