Skip to content

Instantly share code, notes, and snippets.

@kdmukai
Created July 15, 2025 17:05
Show Gist options
  • Save kdmukai/d5e64823f69127e1345ee97e8152b236 to your computer and use it in GitHub Desktop.
Save kdmukai/d5e64823f69127e1345ee97e8152b236 to your computer and use it in GitHub Desktop.
Build all targets for SeedSigner OS
#!/bin/bash
# Requires: apt install time
export APP_REPO = https://github.com/kdmukai/seedsigner.git
export APP_BRANCH = 0.8.6
touch results.txt
for device in pi0 pi02w pi2 pi4
do
ccache -d /root/.buildroot-ccache --zero-stats
ccache --zero-stats
echo "Building for: $device" >> results.txt
/usr/bin/time -o results.txt -a ./build.sh --$device --app-repo=$APP_REPO --app-branch=$APP_BRANCH
echo "---------------------------------------------------" >> results.txt
ccache -d /root/.buildroot-ccache --show-stats >> results.txt
echo "---------------------------------------------------" >> results.txt
ccache --show-stats >> results.txt
echo "---------------------------------------------------" >> results.txt
echo " " >> results.txt
done
cat results.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment