Add CONFIG_SOF_OS_LINUX_COMPAT_PRIORITY and use it to fix UAOL regression #4334
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
| --- | |
| name: Zephyr LLEXT | |
| # 'workflow_dispatch' allows running this workflow manually from the | |
| # 'Actions' tab | |
| # yamllint disable-line rule:truthy | |
| on: [pull_request, workflow_dispatch] | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: thesofproject/zephyr-lite:v0.29.0 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [mtl, lnl] | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: sof | |
| fetch-depth: 0 # fix git describe | |
| filter: 'tree:0' | |
| - name: west update | |
| working-directory: sof | |
| run: | | |
| west init -l | |
| west update --narrow --fetch-opt=--depth=5 | |
| - name: print all available sdks in /opt/toolchains/ | |
| run: | | |
| ls -l /opt/toolchains/ | |
| - name: llext build | |
| run: | | |
| ln -s /opt/toolchains/zephyr-sdk-* ~/ | |
| python sof/scripts/xtensa-build-zephyr.py \ | |
| --cmake-args=-DEXTRA_CFLAGS=-Werror \ | |
| --cmake-args=-DEXTRA_CXXFLAGS=-Werror \ | |
| --cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings' \ | |
| --cmake-args=--warn-uninitialized \ | |
| --overlay=sof/app/configs/${{ matrix.platform }}/modules.conf \ | |
| ${{ matrix.platform }} |