From d83662d4da0bd4c4d616172aa41435f96fb66caa Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 22 Sep 2023 15:06:31 +0200 Subject: [PATCH] CI ARM: enable RPi stuff also in 64b build --- .github/scripts/Linux/arm/bootstrap.sh | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/scripts/Linux/arm/bootstrap.sh b/.github/scripts/Linux/arm/bootstrap.sh index e97f3ac7c..5c98d54ea 100755 --- a/.github/scripts/Linux/arm/bootstrap.sh +++ b/.github/scripts/Linux/arm/bootstrap.sh @@ -3,30 +3,34 @@ # If changing the file, do not forget to regenerate cache in ARM Build GitHub action OLDPWD=$(pwd) +readonly debver=bullseye apt -y install curl gnupg echo -k > ~/.curlrc -if grep -q Raspbian /etc/os-release; then - curl http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | apt-key add - - echo 'deb http://archive.raspberrypi.org/debian bullseye main' >> /etc/apt/sources.list - apt -y update - apt -y install libraspberrypi-dev +if grep -q Debian /etc/os-release; then + cat >/etc/apt/sources.list <> \ + /etc/apt/sources.list +apt -y update apt -y install autoconf automake build-essential cmake git pkg-config libtool sudo apt -y install libcurl4-openssl-dev libsoxr-dev libspeexdsp-dev libssl-dev apt -y install libasound2-dev portaudio19-dev libjack-dev apt -y install libglew-dev libglfw3-dev libglm-dev apt -y install libcaca-dev libmagickwand-dev libnatpmp-dev libopencv-core-dev libopencv-imgproc-dev +apt -y install libavcodec-dev libavformat-dev libsdl2-dev libswscale-dev libraspberrypi-dev /.github/scripts/install-common-deps.sh /.github/scripts/Linux/install_others.sh ndi /.github/scripts/Linux/install_others.sh ximea -# FFmpeg -apt -y install libavcodec-dev libavformat-dev libsdl2-dev libswscale-dev - # mkappimage mkai_arch=$(dpkg --print-architecture) if [ "$mkai_arch" = arm64 ]; then