Skip to content
Snippets Groups Projects
Commit fe6e7b70 authored by André Offringa's avatar André Offringa
Browse files

Remove testing from dockerfiles

parent f91cb502
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,9 @@ void Collector::Collect(const std::string& filename,
const std::string stationName = ms->GetStationName();
std::vector<BandInfo> bands(bandCount);
std::vector<std::vector<double>> frequencies(bandCount);
unsigned totalChannels = 0;
for (unsigned b = 0; b < bandCount; ++b) {
bands[b] = ms->GetBandInfo(b);
frequencies[b].resize(bands[b].channels.size());
totalChannels += bands[b].channels.size();
for (unsigned c = 0; c < bands[b].channels.size(); ++c) {
frequencies[b][c] = bands[b].channels[c].frequencyHz;
}
......
......@@ -51,6 +51,6 @@ WORKDIR /src
RUN mkdir /build && cd /build && cmake ../src
RUN cd /build && make -j`nproc --all` && make install && make check -j`nproc --all`
RUN cd /build && make -j`nproc --all` && make install
RUN cd /build/python && echo "import aoflagger" | python3
......@@ -10,7 +10,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
liblua5.3-dev \
python3 \
libpython3-dev \
libboost-date-time-dev libboost-system-dev libboost-test-dev \
libboost-date-time-dev libboost-system-dev \
libgtkmm-3.0-dev \
libcfitsio-dev \
libfftw3-dev \
......@@ -23,6 +23,6 @@ WORKDIR /src
RUN mkdir /build && cd /build && cmake ../src
RUN cd /build && make -j`nproc --all` && make install && make check -j`nproc --all`
RUN cd /build && make -j`nproc --all` && make install
RUN cd /build/python && echo "import aoflagger" | python3.10
......@@ -10,7 +10,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
liblua5.3-dev \
python3 \
libpython3-dev \
libboost-date-time-dev libboost-system-dev libboost-test-dev \
libboost-date-time-dev libboost-system-dev \
libgtkmm-3.0-dev \
libcfitsio-dev \
libfftw3-dev \
......@@ -30,5 +30,5 @@ WORKDIR /src
RUN \
mkdir /build && cd /build && cmake ../src && \
cd /build && make -j`nproc` && make install && make check -j`nproc` && \
cd /build && make -j`nproc` && make install && \
cd /build/python && echo "import aoflagger" | python3
......@@ -11,7 +11,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
python3 \
python3-distutils \
libpython3-dev \
libboost-date-time-dev libboost-system-dev libboost-test-dev \
libboost-date-time-dev libboost-system-dev \
libcfitsio-dev \
libfftw3-dev \
libgsl-dev \
......@@ -33,7 +33,6 @@ RUN \
cd /build && \
cmake ../src && \
make -j`nproc` && \
make install && \
make check -j`nproc`
make install
RUN cd /build/python && echo "import aoflagger" | python3
......@@ -10,7 +10,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
liblua5.3-dev \
python3 \
libpython3-dev \
libboost-date-time-dev libboost-system-dev libboost-test-dev \
libboost-date-time-dev libboost-system-dev \
libgtkmm-3.0-dev \
libcfitsio-dev \
libfftw3-dev \
......@@ -23,6 +23,6 @@ WORKDIR /src
RUN mkdir /build && cd /build && cmake ../src
RUN cd /build && make -j`nproc --all` && make install && make check -j`nproc --all`
RUN cd /build && make -j`nproc --all` && make install
RUN cd /build/python && echo "import aoflagger" | python3
FROM ubuntu:21.04
FROM ubuntu:22.04
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
apt-get install -y \
......@@ -9,7 +9,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
libblas-dev liblapack-dev \
liblua5.3-dev \
libpython3-dev \
libboost-date-time-dev libboost-system-dev libboost-test-dev \
libboost-date-time-dev libboost-system-dev \
libgtkmm-3.0-dev \
libcfitsio-dev \
libfftw3-dev \
......@@ -22,6 +22,6 @@ WORKDIR /src
RUN mkdir /build && cd /build && cmake ../src
RUN cd /build && make -j`nproc --all` && make install && make check -j`nproc --all`
RUN cd /build && make -j`nproc --all` && make install
RUN cd /build/python && echo "import aoflagger" | python3
FROM ubuntu:21.04
FROM ubuntu:22.04
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
apt-get install -y \
......@@ -55,6 +55,6 @@ WORKDIR /src
RUN mkdir /build && cd /build && cmake ../src -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_CXX_FLAGS="-stdlib=libc++"
RUN cd /build && make -j`nproc --all` && make install && make check -j`nproc --all`
RUN cd /build && make -j`nproc --all` && make install
RUN cd /build/python && echo "import aoflagger" | python3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment