barback32/.drone.yml
Morgan 'ARR\!' Allen b113a70577
All checks were successful
continuous-integration/drone/push Build is passing
invoke idf export first
2021-09-21 22:02:25 -07:00

18 lines
435 B
YAML

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