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
|
||||
cd $(dirname $0)/..
|
||||
|
||||
## This is bananas.
|
||||
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
|
||||
mkdir -p out/
|
||||
|
||||
while read vid pid variant; do
|
||||
log
|
||||
log Building $vid $pid $product
|
||||
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 "
|
||||
/leonardo.build.vid/ s/=.*/=$vid/
|
||||
/leonardo.build.pid/ s/=.*/=$pid/
|
||||
|
|
Loading…
Reference in New Issue