barback32/.woodpecker.yml

22 lines
544 B
YAML
Raw Normal View History

labels:
hardware: esp32
2024-11-12 23:22:15 -05:00
steps:
2022-04-15 02:15:34 -04:00
build:
2024-05-10 17:56:53 -04:00
image: bash
2022-04-15 02:15:34 -04:00
commands:
- mkdir ~/.ssh
- ssh-keyscan -t rsa git.oit.cloud >> ~/.ssh/known_hosts
- git submodule update --init
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
2024-05-13 12:34:29 -04:00
- id
2024-05-13 12:35:51 -04:00
- . /opt/esp/idf/install.sh
2022-04-15 02:15:34 -04:00
- . /opt/esp/idf/export.sh
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -i -e s/BARBACK_ID=\"Barback\"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
- idf.py reconfigure
- idf.py build