barback32/.drone.yml

19 lines
435 B
YAML
Raw Normal View History

2021-09-22 00:17:09 -04:00
kind: pipeline
type: docker
name: default
steps:
- name: build
image: espressif/idf:release-v4.1
commands:
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
2021-09-22 00:57:51 -04:00
- ls
2021-09-22 01:02:25 -04:00
- . /opt/esp/idf/export.sh
2021-09-22 00:17:09 -04:00
- 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