Browse Source

Put git clone parts outside qemu in travis rpi cfg

master
Krisjanis Rijnieks 7 years ago
parent
commit
d17a4c0773
  1. 7
      scripts/ci/rpi/mkimage.sh
  2. 10
      scripts/ci/rpi/pisetup.sh

7
scripts/ci/rpi/mkimage.sh

@ -75,6 +75,13 @@ cp /usr/bin/qemu-arm-static "${MOUNT}/usr/bin"
cp "${MOUNT}/etc/ld.so.preload" "${MOUNT}/etc/_ld.so.preload"
echo "" > "${MOUNT}/etc/ld.so.preload"
# git clone addons
git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git /home/pi/openFrameworks/addons/ofxJSON
git clone https://github.com/jvcleave/ofxOMXPlayer.git /home/pi/openFrameworks/addons/ofxOMXPlayer
#git clone https://github.com/kr15h/ofxOMXPlayerLite.git
#mv ofxOMXPlayerLite ofxOMXPlayer
# copy ofxPiMapper to openFrameworks/addons
mkdir "${MOUNT}/home/pi/openFrameworks/addons/ofxPiMapper"
cp -r ./src "${MOUNT}/home/pi/openFrameworks/addons/ofxPiMapper/"

10
scripts/ci/rpi/pisetup.sh

@ -5,16 +5,6 @@ echo "Hello! Me is pisetup.sh script."
pwd
df -h
cd /home/pi/openFrameworks/addons
git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git
if [ -e "ofxOMXPlayer" ]; then
rm -rf ofxOMXPlayer
fi
git clone https://github.com/kr15h/ofxOMXPlayerLite.git
mv ofxOMXPlayerLite ofxOMXPlayer
cd ofxPiMapper/example_basic
make -j$(nproc)

Loading…
Cancel
Save