first step with drone ci
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Morgan 'ARR\!' Allen 2021-09-21 21:17:09 -07:00
parent 8a62260dc2
commit 2ed479753f

16
.drone.yml Normal file
View file

@ -0,0 +1,16 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: espressif/idf:release-v4.1
commands:
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
- 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