Skip to content

Commit 7e2af13

Browse files
committed
test
1 parent a0ee750 commit 7e2af13

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,17 @@ jobs:
4646
# Then enable the correct target
4747
sed -i 's/^\/\/#define '${{ matrix.config_define }}'/#define '${{ matrix.config_define }}'/' main/config.h
4848
49+
# Remove existing sdkconfig files to avoid target conflicts
50+
rm -f sdkconfig sdkconfig.old
51+
4952
# Configure project for target
5053
idf.py set-target ${{ matrix.target }}
5154
55+
# Copy the default configuration
56+
if [ -f sdkconfig.defaults ]; then
57+
cp sdkconfig.defaults sdkconfig
58+
fi
59+
5260
- name: Build project
5361
run: idf.py build
5462

0 commit comments

Comments
 (0)