Fix buildchain
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Christoph Honal 2020-02-26 01:20:28 +01:00
parent a9e21882cd
commit 6b2761e76d

View File

@ -38,15 +38,14 @@ RUN git clone https://github.com/MOVE-II/move2radio.git && \
git clone git@${PROP_SERVER}:${PROP_DIR_SDR}/libfec.git move2radio-prop/fec git clone git@${PROP_SERVER}:${PROP_DIR_SDR}/libfec.git move2radio-prop/fec
# Build sources # Build sources
WORKDIR /app/move2radio RUN mkdir -p /app/move2radio-prop/fec/build && cd /app/move2radio-prop/fec/build && \
cmake -DCMAKE_INSTALL_PREFIX=/app/move2radio/build/prefix/usr .. && make && make install && \
mkdir -p /app/move2radio-prop/ldpc/build && cd /app/move2radio-prop/ldpc/build && \
cmake -DCMAKE_INSTALL_PREFIX=/app/move2radio/build/prefix/usr .. && make && make install
COPY build/CMakeLists.txt /app/move2radio/CMakeLists.txt COPY build/CMakeLists.txt /app/move2radio/CMakeLists.txt
RUN mkdir build
WORKDIR /app/move2radio/build WORKDIR /app/move2radio/build
RUN cmake -DAPPIMAGE=OFF -DCONDA_ENV=OFF -DLDPC_OFFLINE=ON -DGR_CCSDS_OFFLINE=ON -DFEC_OFFLINE=ON -DOFFLINE_DEPENDENCY_PATH=/app/move2radio-prop .. RUN cmake -DAPPIMAGE=OFF -DCONDA_ENV=OFF -DLDPC_OFFLINE=ON -DGR_CCSDS_OFFLINE=ON -DFEC_OFFLINE=ON -DOFFLINE_DEPENDENCY_PATH=/app/move2radio-prop .. && \
RUN make build_gr_osmosdr make move2radio
# RUN make install_fec build_ldpc build_curlpp
# RUN make build_gr_ccsds
# RUN make move2radio
# # Run stage # # Run stage
# FROM base AS run # FROM base AS run