.github/tools.tml: add build of SOF ALSA plugin

Add new GitHub workflow that builds SOF ALSA plugin

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2023-11-30 20:58:35 +00:00 committed by Ranjani Sridharan
parent 50c224a2c7
commit fb229b9cc1
1 changed files with 26 additions and 0 deletions

View File

@ -27,3 +27,29 @@ jobs:
VERBOSE=1 NO_PROCESSORS=1 USE_XARGS=no
CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
./scripts/build-tools.sh
SOF-alsa-plugin:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with: {filter: 'tree:0'}
- name: apt install
run: sudo apt-get update;
sudo apt-get -y install ninja-build libasound2-dev
# One space character is enough to detect most quoting issues
- name: configure
run: cmake -B 'build plugin' -S tools/plugin
-GNinja -Wdev -Werror=dev --warn-uninitialized
# Retry with -j1 in case of error because parallel builds drown error
# messages.
- name: build ExternalProjects first to avoid build race condition
run: cmake --build 'build plugin' -- sof_ep parser_ep ||
cmake --build 'build plugin' -- sof_ep parser_ep -j1
- name: Remaining build steps
run: cmake --build 'build plugin' ||
cmake --build 'build plugin' -j1