Add nextthing boards

add chip, chippro and pocketchip
This commit is contained in:
Guilhem Baccialone 2024-10-15 23:00:08 +02:00 committed by GitHub
parent 1372ebb073
commit e5f3a21383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 12876 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#!/bin/bash
BRANCH=$(git symbolic-ref -q HEAD)
BRANCH=${BRANCH##refs/heads/chip/}
BRANCH=${BRANCH##refs/heads/nextthing/*/}
BUILD_NUMBER=$1
S3_DEST=s3://opensource.nextthing.co/chip/buildroot/${BRANCH}
tar czf /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz ../build || exit $?
s3cmd put --acl-public --no-guess-mime-type /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz ${S3_DEST}/${BUILD_NUMBER}/build${BUILD_NUMBER}.tar.gz || exit $?
rm /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz || exit $?