Skip to content

Commit

Permalink
Add new file: app/overlays/repro-build.conf
Browse files Browse the repository at this point in the history
Passing options one by one in .github/workflows/zephyr.yml was becoming
unwieldy. Reduces Windows/Linux duplication. This also makes local
testing easier; less typing and guess work.

This should also help with thesofproject#9116.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and Eddy Hsu committed Jul 15, 2024
1 parent 19c89da commit b267a71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ jobs:
--cmake-args=-DEXTRA_CXXFLAGS=-Werror
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
--cmake-args=--warn-uninitialized
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY=y
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n
--overlay=sof/app/overlays/repro-build.conf
${{ matrix.build_opts }} ${{ matrix.IPC_platforms }}

- name: Upload build artifacts
Expand Down Expand Up @@ -361,8 +360,7 @@ jobs:
--cmake-args=-DEXTRA_CXXFLAGS=-Werror
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
--cmake-args=--warn-uninitialized
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY=y
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n
--overlay=sof/app/overlays/repro-build.conf
${{ matrix.build_opts }} ${{ matrix.platforms }}

- name: Upload build artifacts
Expand Down
2 changes: 2 additions & 0 deletions app/overlays/repro-build.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_OUTPUT_DISASSEMBLY=y
CONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n

0 comments on commit b267a71

Please sign in to comment.