ci/cd
Mockband / build (push) Successful in 16s
Details
Mockband / build (push) Successful in 16s
Details
This commit is contained in:
parent
1ce4c7ec5c
commit
6d8256bb16
|
@ -9,15 +9,18 @@ log () {
|
||||||
# Make sure we're in the project directory
|
# Make sure we're in the project directory
|
||||||
cd $(dirname $0)/..
|
cd $(dirname $0)/..
|
||||||
|
|
||||||
## This is bananas.
|
mkdir -p out/
|
||||||
mkdir -p build/ out/ build/cache/
|
|
||||||
cp -rL /usr/share/arduino /usr/share/arduino-builder build/ || true # there's a cyclic symlink that causes failure
|
|
||||||
|
|
||||||
while read vid pid variant; do
|
while read vid pid variant; do
|
||||||
log
|
log
|
||||||
log Building $vid $pid $product
|
log Building $vid $pid $product
|
||||||
log
|
log
|
||||||
|
|
||||||
|
## This is bananas.
|
||||||
|
rm -rf build/
|
||||||
|
mkdir -p build/cache/
|
||||||
|
cp -rL /usr/share/arduino /usr/share/arduino-builder build/ || true # there's a cyclic symlink that causes failure
|
||||||
|
|
||||||
sed -i "
|
sed -i "
|
||||||
/leonardo.build.vid/ s/=.*/=$vid/
|
/leonardo.build.vid/ s/=.*/=$vid/
|
||||||
/leonardo.build.pid/ s/=.*/=$pid/
|
/leonardo.build.pid/ s/=.*/=$pid/
|
||||||
|
|
Loading…
Reference in New Issue