ci/cd
Mockband / build (push) Successful in 16s Details

This commit is contained in:
Neale Pickett 2024-01-04 19:51:22 -07:00
parent 1ce4c7ec5c
commit 6d8256bb16
1 changed files with 6 additions and 3 deletions

View File

@ -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/