Browse Source

Add improved timelimit solution since it works

master
Krisjanis Rijnieks 7 years ago
parent
commit
0a7b9bb515
  1. 6
      scripts/ci/rpi/build-script.sh
  2. 2
      scripts/ci/rpi/prepare-script.sh

6
scripts/ci/rpi/build-script.sh

@ -2,8 +2,8 @@
echo "Begin build-script.sh"
sudo apt-get -y install timelimit
timelimit -s KILL -t 10 make -j $(nproc) -C /home/pi/openFrameworks/addons/ofxPiMapper/example_basic
date
timelimit -s KILL -t 2000 make -j $(nproc) -C /home/pi/openFrameworks/addons/ofxPiMapper/example_basic
date
echo "End build-script.sh"

2
scripts/ci/rpi/prepare-script.sh

@ -3,7 +3,7 @@
echo "Begin prepare-script.sh"
echo "Installing extra packages."
sudo apt-get -yq install usbmount dosfstools exfat-fuse exfat-utils
sudo apt-get -yq install usbmount dosfstools exfat-fuse exfat-utils timelimit
echo "Setting hostname."
echo "opm" > /etc/hostname

Loading…
Cancel
Save