Skip to content

Commit

Permalink
.github: testbench: stop using container to build test topologies
Browse files Browse the repository at this point in the history
Ubuntu 22.04 has ALSA 1.2.6 without ASRC failure #2543

Building in the container is much slower and updating the container is
also very time-consuming. Must be used only when really required.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and lgirdwood committed Aug 25, 2022
1 parent 5ff3515 commit 12451fe
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,15 @@ jobs:
- uses: actions/checkout@v2
with: {fetch-depth: 5}

- name: apt get valgrind
run: sudo apt-get update && sudo apt-get -y install valgrind

- name: docker
run: docker pull thesofproject/sof && docker tag thesofproject/sof sof
- name: apt get
run: sudo apt-get update &&
sudo apt-get -y install valgrind alsa-utils

# testbench needs some topologies.
# Use our docker container to avoid the "unsupported widget type asrc"
# bug in ALSA 1.2.2
# https://github.com/thesofproject/sof/issues/2543
- name: build test topologies
run: ./scripts/docker-run.sh ./scripts/build-tools.sh -t ||
run: ./scripts/build-tools.sh -t ||
VERBOSE=1 NO_PROCESSORS=1 USE_XARGS=no
./scripts/docker-run.sh ./scripts/build-tools.sh -t
./scripts/build-tools.sh -t

- name: build testbench
run: ./scripts/rebuild-testbench.sh
Expand Down

0 comments on commit 12451fe

Please sign in to comment.