barback32/.woodpecker.yml
Morgan 'ARR\!' Allen 5e309d9114
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
woodpecker debug
2024-05-13 09:34:29 -07:00

17 lines
486 B
YAML

pipeline:
build:
image: bash
commands:
- mkdir ~/.ssh
- ssh-keyscan -t rsa git.oit.cloud >> ~/.ssh/known_hosts
- git submodule update --init
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
- id
- . /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