ci/cd
Mockband / build (push) Failing after 4s Details

This commit is contained in:
Neale Pickett 2024-01-04 19:37:06 -07:00
parent 8685c43f63
commit a326299ca0
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@ log () {
echo "=== $*"
}
# Make sure we're in the project directory
cd $(dirname $0)/..
## This is bananas.
mkdir -p build/ out/ build/cache/
cp -rL /usr/share/arduino /usr/share/arduino-builder build/
@ -20,6 +23,9 @@ while read vid pid variant; do
" build/arduino/hardware/arduino/avr/boards.txt
grep 'leonardo.build' build/arduino/hardware/arduino/avr/boards.txt
# I told you not to use this directory, Arduino.
rm -rf $HOME/.cache
arduino-builder \
-fqbn arduino:avr:leonardo \
-build-path $(pwd)/build/ \