Skip to content

Commit

Permalink
- Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 committed Aug 30, 2023
1 parent c2824ab commit bebdedf
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,19 @@ jobs:

- name: Skip SyncDemo Example
run: |
echo "Removing skip files from AsyncDemo"
rm ${HOME}/examples/AsyncDemo/.esp32.test.skip
rm ${HOME}/examples/AsyncDemo/.esp8266.test.skip
echo "Skipping SyncDemo"
touch ${HOME}/examples/Demo/.esp32.test.skip
touch ${HOME}/examples/Demo/.esp8266.test.skip
cd examples
cd AsyncDemo
rm .esp32.test.skip
rm .esp8266.test.skip
cd ../Demo
touch .esp32.test.skip
touch .esp8266.test.skip
- name: Configure ElegantOTA to Async Mode
run: |
sed -i 's/ELEGANTOTA_USE_SPIFFS 0/ELEGANTOTA_USE_SPIFFS 1/' src/ElegantOTA.h
sed -i 's/ELEGANTOTA_USE_ASYNC_WEBSERVER 0/ELEGANTOTA_USE_ASYNC_WEBSERVER 1/' src/ElegantOTA.h
cd src
sed -i 's/ELEGANTOTA_USE_SPIFFS 0/ELEGANTOTA_USE_SPIFFS 1/' ElegantOTA.h
sed -i 's/ELEGANTOTA_USE_ASYNC_WEBSERVER 0/ELEGANTOTA_USE_ASYNC_WEBSERVER 1/' ElegantOTA.h
- name: Test Async Demo
run: python3 ci/build_platform.py esp8266 esp32

0 comments on commit bebdedf

Please sign in to comment.