Skip to content

Commit 6c9df30

Browse files
marc-hbkv2019i
authored andcommitted
Add new file: app/overlays/repro-build.conf
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 <marc.herbert@intel.com>
1 parent 6cd34c8 commit 6c9df30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/zephyr.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ jobs:
194194
--cmake-args=-DEXTRA_CXXFLAGS=-Werror
195195
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
196196
--cmake-args=--warn-uninitialized
197-
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY=y
198-
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n
197+
--overlay=sof/app/overlays/repro-build.conf
199198
${{ matrix.build_opts }} ${{ matrix.IPC_platforms }}
200199

201200
- name: Upload build artifacts
@@ -361,8 +360,7 @@ jobs:
361360
--cmake-args=-DEXTRA_CXXFLAGS=-Werror
362361
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
363362
--cmake-args=--warn-uninitialized
364-
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY=y
365-
--cmake-args=-DCONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n
363+
--overlay=sof/app/overlays/repro-build.conf
366364
${{ matrix.build_opts }} ${{ matrix.platforms }}
367365

368366
- name: Upload build artifacts

app/overlays/repro-build.conf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_OUTPUT_DISASSEMBLY=y
2+
CONFIG_OUTPUT_DISASSEMBLY_WITH_SOURCE=n

0 commit comments

Comments
 (0)