cleanup
This commit is contained in:
parent
91d401e750
commit
3a65de7776
10
.github/workflows/test-on-rpi.yml
vendored
10
.github/workflows/test-on-rpi.yml
vendored
@ -43,16 +43,6 @@ jobs:
|
|||||||
cd /home/inky
|
cd /home/inky
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
|
|
||||||
# try support for python 3.11.8
|
|
||||||
wget -q https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
|
|
||||||
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y
|
|
||||||
tar -xzf Python-3.11.8.tgz
|
|
||||||
cd Python-3.11.8/
|
|
||||||
./configure --enable-optimizations
|
|
||||||
sudo make altinstall > /dev/null 2>&1
|
|
||||||
sudo rm /usr/bin/python
|
|
||||||
sudo ln -s /usr/local/bin/python3.12 /usr/bin/python
|
|
||||||
|
|
||||||
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev -y
|
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev -y
|
||||||
echo $PWD && ls
|
echo $PWD && ls
|
||||||
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
|
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
|
||||||
|
13
.github/workflows/update-os.yml
vendored
13
.github/workflows/update-os.yml
vendored
@ -35,6 +35,17 @@ jobs:
|
|||||||
whoami
|
whoami
|
||||||
cd /home/inky
|
cd /home/inky
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
|
|
||||||
|
# add python3.11. Python3.12 currently has some issues with matplotlib
|
||||||
|
wget -q https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
|
||||||
|
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y
|
||||||
|
tar -xzf Python-3.11.8.tgz
|
||||||
|
cd Python-3.11.8/
|
||||||
|
./configure --enable-optimizations
|
||||||
|
sudo make altinstall > /dev/null 2>&1
|
||||||
|
sudo rm /usr/bin/python
|
||||||
|
sudo ln -s /usr/local/bin/python3.12 /usr/bin/python
|
||||||
|
|
||||||
python --version
|
python --version
|
||||||
sudo apt-get install -y python3-pip
|
sudo apt-get install -y python3-pip
|
||||||
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev -y
|
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev -y
|
||||||
@ -52,7 +63,7 @@ jobs:
|
|||||||
python -m pytest
|
python -m pytest
|
||||||
|
|
||||||
# install deps for 12.48" display
|
# install deps for 12.48" display
|
||||||
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz
|
wget https://github.com/aceinnolab/Inkycal/raw/assets/tests/bcm2835-1.71.tar
|
||||||
tar zxvf bcm2835-1.71.tar.gz
|
tar zxvf bcm2835-1.71.tar.gz
|
||||||
cd bcm2835-1.71/
|
cd bcm2835-1.71/
|
||||||
sudo ./configure && sudo make && sudo make check && sudo make install
|
sudo ./configure && sudo make && sudo make check && sudo make install
|
||||||
|
Loading…
Reference in New Issue
Block a user