Fixed CI for debian 10 and 11

This commit is contained in:
Ryzerth 2021-04-26 05:04:31 +02:00
parent 8596c26f7e
commit 78e40f1f76
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,2 @@
FROM debian:buster
COPY do_build.sh /root

View File

@ -0,0 +1,17 @@
#!/bin/bash
set -e
cd /root
apt update
apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk2-dev libsoapysdr-dev libairspyhf-dev libairspy-dev libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev
git clone https://github.com/AlexandreRouma/SDRPlusPlus
cd SDRPlusPlus
mkdir build
cd build
cmake ..
make -j2
cd ..
sh make_debian_package.sh ./build

View File

@ -0,0 +1,2 @@
FROM debian:bullseye
COPY do_build.sh /root

View File

@ -0,0 +1,17 @@
#!/bin/bash
set -e
cd /root
apt update
apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk1-dev libsoapysdr-dev libairspyhf-dev libairspy-dev libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev
git clone https://github.com/AlexandreRouma/SDRPlusPlus
cd SDRPlusPlus
mkdir build
cd build
cmake ..
make -j2
cd ..
sh make_debian_package.sh ./build