GitHub CI [Linux, raspbian]: add also complementary repo

SDL2 from this repo supports RPI backend.
This commit is contained in:
Martin Pulec
2021-07-16 10:14:50 +02:00
parent b80658f721
commit 22bbfca5dc

View File

@@ -7,6 +7,9 @@ OLDPWD=$(pwd)
if grep -q Raspbian /etc/os-release; then # https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1670905 workaround
sed -i s-http://deb.debian.org/debian-http://mirrordirector.raspbian.org/raspbian/- /etc/apt/sources.list
apt -y install curl
curl http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | apt-key add -
echo 'deb http://archive.raspberrypi.org/debian buster main' >> /etc/apt/sources.list
apt -y update
fi