Skip to content

Commit

Permalink
.github/tools.tml: add build of SOF ALSA plugin
Browse files Browse the repository at this point in the history
Add new GitHub workflow that builds SOF ALSA plugin

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed Nov 30, 2023
1 parent 27d0637 commit 51224d7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: build ALSA plugin
run: cmake --build 'build plugin' ||
cmake --build 'build plugin' -j1

0 comments on commit 51224d7

Please sign in to comment.