Skip to content

Commit fb229b9

Browse files
marc-hbranj063
authored andcommitted
.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>
1 parent 50c224a commit fb229b9

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/tools.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,29 @@ jobs:
2727
VERBOSE=1 NO_PROCESSORS=1 USE_XARGS=no
2828
CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
2929
./scripts/build-tools.sh
30+
31+
32+
SOF-alsa-plugin:
33+
runs-on: ubuntu-22.04
34+
steps:
35+
- uses: actions/checkout@v4
36+
with: {filter: 'tree:0'}
37+
38+
- name: apt install
39+
run: sudo apt-get update;
40+
sudo apt-get -y install ninja-build libasound2-dev
41+
42+
# One space character is enough to detect most quoting issues
43+
- name: configure
44+
run: cmake -B 'build plugin' -S tools/plugin
45+
-GNinja -Wdev -Werror=dev --warn-uninitialized
46+
47+
# Retry with -j1 in case of error because parallel builds drown error
48+
# messages.
49+
- name: build ExternalProjects first to avoid build race condition
50+
run: cmake --build 'build plugin' -- sof_ep parser_ep ||
51+
cmake --build 'build plugin' -- sof_ep parser_ep -j1
52+
53+
- name: Remaining build steps
54+
run: cmake --build 'build plugin' ||
55+
cmake --build 'build plugin' -j1

0 commit comments

Comments
 (0)