Skip to content

Commit 517dacc

Browse files
committed
Adds ALSA environment setup to CI and Docker scripts
Configures environment variables for ALSA tools in the CI workflow, including PATH, PKG_CONFIG_PATH, and LD_LIBRARY_PATH. Updates Docker script to pass these variables to the container to ensure proper toolchain availability during builds. Signed-off-by: Christopher Turner <christopher.g.turner@intel.com>
1 parent 315218e commit 517dacc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/testbench.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ jobs:
4949
- name: Set SOF_WORKSPACE
5050
run: echo "SOF_WORKSPACE=/home/sof/work/sof.git" >> $GITHUB_ENV
5151

52+
# Set environment variables for ALSA tools
53+
- name: Set ALSA tools environment
54+
run: |
55+
export PATH=/home/sof/work/sof.git/tools/bin:$PATH
56+
export PKG_CONFIG_PATH=/home/sof/work/sof.git/tools/lib/pkgconfig:$PKG_CONFIG_PATH
57+
export LD_LIBRARY_PATH=/home/sof/work/sof.git/tools/lib:$LD_LIBRARY_PATH
58+
echo "PATH=$PATH" >> $GITHUB_ENV
59+
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
60+
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
61+
5262
# testbench needs some topologies.
5363
- name: build test topologies
5464
continue-on-error: true

scripts/docker-run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ docker run -i -v "${SOF_TOP}":/home/sof/work/sof.git \
4242
--env VERBOSE \
4343
--env http_proxy="$http_proxy" \
4444
--env https_proxy="$https_proxy" \
45-
--env SOF_WORKSPACE="$SOF_WORKSPACE" \
4645
$SOF_DOCKER_RUN \
4746
thesofproject/sof:20250410_no-alsa ./scripts/sudo-cwd.sh "$@"

0 commit comments

Comments
 (0)