travis: Manually install gr-iqbal and gr-osmosdr

Currently these two packages still depends on gnuradio 3.8 in debian
testing and kali rolling.

Change-Id: I4f956577293c48d803b8b45d06ba508792501274
This commit is contained in:
Vasil Velichkov 2019-09-02 18:19:13 +03:00 committed by Piotr Krysik
parent fc99ad4258
commit c00008fa7b
2 changed files with 35 additions and 2 deletions

View File

@ -16,11 +16,28 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
gnuradio-dev gnuradio libgmp-dev libboost-regex-dev \
libosmocore-dev
# packages needed for gr-iqbal and gr-osmosdr
RUN apt-get install -y git libuhd-dev
COPY ./ /src/
RUN ls /src
RUN git clone --branch maint-3.8 --recurse-submodules https://github.com/velichkov/gr-iqbal && \
cd gr-iqbal && \
mkdir build && \
cd build && \
cmake .. && \
make -j $(nproc) install
RUN git clone --branch maint-3.8 https://github.com/velichkov/gr-osmosdr && \
cd gr-osmosdr && \
mkdir build && \
cd build && \
cmake .. && \
make -j $(nproc) install
RUN mkdir /src/build
WORKDIR /src/build
RUN cmake .. && \
# The parallel build sometimes fails when the .grc_gnuradio
# and .gnuradio directories do not exist

View File

@ -16,8 +16,24 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
gnuradio-dev gnuradio libgmp-dev libboost-regex-dev \
libosmocore-dev
# packages needed for gr-iqbal and gr-osmosdr
RUN apt-get install -y git libuhd-dev
COPY ./ /src/
RUN ls /src
RUN git clone --branch maint-3.8 --recurse-submodules https://github.com/velichkov/gr-iqbal && \
cd gr-iqbal && \
mkdir build && \
cd build && \
cmake .. && \
make -j $(nproc) install
RUN git clone --branch maint-3.8 https://github.com/velichkov/gr-osmosdr && \
cd gr-osmosdr && \
mkdir build && \
cd build && \
cmake .. && \
make -j $(nproc) install
RUN mkdir /src/build
WORKDIR /src/build