Skip to content

Commit

Permalink
workflow: update sdkconfig 3
Browse files Browse the repository at this point in the history
  • Loading branch information
espressif2022 committed Feb 7, 2024
1 parent 059d177 commit ef18301
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-examples-gh-pages-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ jobs:
echo $GITHUB_WORKSPACE/examples/${{matrix.build-dir}}
diff sdkconfig.defaults ${{matrix.boards}}
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf
cat temp_conf >> sdkconfig.defaults
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt
cat new_conf.txt
cat new_conf.txt >> sdkconfig.defaults
if [[ ${{matrix.build-dir}} == chatgpt_demo ]]; then
cd factory_nvs
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf
cat temp_conf >> sdkconfig.defaults
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt
cat new_conf.txt >> sdkconfig.defaults
idf.py build
cd ../
fi
Expand Down Expand Up @@ -113,8 +114,8 @@ jobs:
pip install "idf_build_apps<2.0"
cd $GITHUB_WORKSPACE/examples/${{matrix.build-dir}}
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf
cat temp_conf >> sdkconfig.defaults
diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt
cat new_conf.txt >> sdkconfig.defaults
idf.py set-target esp32s3 build
cd build
Expand Down

0 comments on commit ef18301

Please sign in to comment.