barback32/.woodpecker.yml
Morgan 'ARR\!' Allen 8911bcecb2
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
convert ci to steps
2024-11-12 20:22:15 -08:00

21 lines
544 B
YAML

labels:
hardware: esp32
steps:
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/install.sh
- . /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