ci/cd
Mockband / build (push) Failing after 4s
Details
Mockband / build (push) Failing after 4s
Details
This commit is contained in:
parent
8685c43f63
commit
a326299ca0
|
@ -4,6 +4,9 @@ log () {
|
||||||
echo "=== $*"
|
echo "=== $*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Make sure we're in the project directory
|
||||||
|
cd $(dirname $0)/..
|
||||||
|
|
||||||
## This is bananas.
|
## This is bananas.
|
||||||
mkdir -p build/ out/ build/cache/
|
mkdir -p build/ out/ build/cache/
|
||||||
cp -rL /usr/share/arduino /usr/share/arduino-builder build/
|
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
|
" build/arduino/hardware/arduino/avr/boards.txt
|
||||||
grep 'leonardo.build' 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 \
|
arduino-builder \
|
||||||
-fqbn arduino:avr:leonardo \
|
-fqbn arduino:avr:leonardo \
|
||||||
-build-path $(pwd)/build/ \
|
-build-path $(pwd)/build/ \
|
||||||
|
|
Loading…
Reference in New Issue