[SKIP SOFCI-TEST] validate no alsa docker for PR#9870 [DNM] #11726
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Tools that can save round-trips to github and a lot of time: | |
| # | |
| # yamllint -f parsable pull_request.yml | |
| # pip3 install ruamel.yaml.cmd | |
| # yaml merge-expand pull_request.yml exp.yml && | |
| # diff -w -u pull_request.yml exp.yml | |
| # | |
| # github.com also has a powerful web editor that can be used without | |
| # committing. | |
| name: testbench | |
| # yamllint disable-line rule:truthy | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'stable-**' | |
| - '**-stable' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'stable-**' | |
| - '**-stable' | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| build-run: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: {fetch-depth: 0, filter: 'tree:0'} | |
| - name: docker | |
| run: docker pull thesofproject/sof:20250410_no-alsa && docker tag thesofproject/sof:20250410_no-alsa sof | |
| - name: apt get | |
| run: sudo apt-get update && | |
| sudo apt-get -y install valgrind alsa-utils libasound2-dev ninja-build | |
| octave octave-signal | |
| # Set SOF_WORKSPACE to align ALSA tools installation with the build directory | |
| - name: Set SOF_WORKSPACE | |
| run: echo "SOF_WORKSPACE=/home/sof/work/sof.git" >> $GITHUB_ENV | |
| # testbench needs some topologies. | |
| - name: build test topologies | |
| continue-on-error: true | |
| run: | | |
| ./scripts/docker-run.sh \ | |
| --env SOF_WORKSPACE=/home/sof/work/sof.git \ | |
| --env PATH=/home/sof/work/sof.git/tools/bin:$PATH \ | |
| --env PKG_CONFIG_PATH=/home/sof/work/sof.git/tools/lib/pkgconfig:$PKG_CONFIG_PATH \ | |
| --env LD_LIBRARY_PATH=/home/sof/work/sof.git/tools/lib:$LD_LIBRARY_PATH \ | |
| ./scripts/build-tools.sh -A -Y || | |
| VERBOSE=1 NO_PROCESSORS=1 USE_XARGS=no \ | |
| ./scripts/docker-run.sh \ | |
| --env SOF_WORKSPACE=/home/sof/work/sof.git \ | |
| --env PATH=/home/sof/work/sof.git/tools/bin:$PATH \ | |
| --env PKG_CONFIG_PATH=/home/sof/work/sof.git/tools/lib/pkgconfig:$PKG_CONFIG_PATH \ | |
| --env LD_LIBRARY_PATH=/home/sof/work/sof.git/tools/lib:$LD_LIBRARY_PATH \ | |
| ./scripts/build-tools.sh -A -Y | |
| # Verify alsatplg version | |
| - name: verify alsatplg version | |
| run: ./tools/bin/alsatplg --version | |
| # - name: build testbench | |
| # run: ./scripts/rebuild-testbench.sh || | |
| # ./scripts/rebuild-testbench.sh -j 1 | |
| # - name: run testbench | |
| # run: ./scripts/host-testbench.sh |