This commit is contained in:
Ace 2023-09-02 15:03:56 +02:00 committed by GitHub
parent 28536a25dc
commit e73f27ed9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,25 @@ jobs:
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
for f in *.py; do python3 "$f"; done
# install deps for 12.48" display
wget https://github.com/aceinnolab/Inkycal/blob/assets/Repo/bcm2835-1.71.tar
tar zxvf bcm2835-1.71.tar.gz
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
cd ..
echo $CWD
wget https://github.com/aceinnolab/Inkycal/blob/assets/Repo/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
cd ..
echo $CWD
gpio -v
# increase swap-size
sudo dphys-swapfile swapoff
sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=256/' /etc/dphys-swapfile
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
# enable SPI
sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt