1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-08-19 22:26:10 +00:00

Allow failure in builds that depend on SourceForge

This commit is contained in:
Carles Fernandez 2018-03-02 11:34:21 +01:00
parent 0fc1aff61c
commit 010ede8007

View File

@ -58,6 +58,42 @@ stages:
# Stage "build" # Stage "build"
archlinux:
image: base/devel:latest
stage: build
before_script:
- pwd
script:
- pacman -Syu --noconfirm
- pacman -S --noconfirm cmake git boost boost-libs log4cpp libvolk gnuradio gnuradio-osmosdr blas lapack gflags google-glog gnutls openssl python2-mako python2-six libmatio gtest
- cd build
- cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
allow_failure: true
centos7:
image: centos:centos7
stage: build
before_script:
- pwd
script:
- yum install -y wget
- wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- rpm -Uvh epel-release-latest-7.noarch.rpm
- yum install -y make automake gcc gcc-c++ kernel-devel libtool hdf5-devel cmake git boost-devel boost-date-time boost-system boost-filesystem boost-thread boost-chrono boost-serialization log4cpp-devel gnuradio-devel gr-osmosdr-devel blas-devel lapack-devel armadillo-devel openssl-devel python-mako python-six
- cd build
- cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
allow_failure: true
debian8.10: debian8.10:
image: debian:8.10-slim image: debian:8.10-slim
stage: build stage: build
@ -70,6 +106,7 @@ debian8.10:
- make -j$(($NPROC+1)) - make -j$(($NPROC+1))
- make check - make check
- make install - make install
allow_failure: true
debian9.3: debian9.3:
@ -114,54 +151,6 @@ debian10:
- make install - make install
ubuntu14.04:
image: ubuntu:trusty
stage: build
script:
- apt-get update
- apt-get install -y apt-file
- apt-file update
- apt-get install -y software-properties-common
- add-apt-repository -y ppa:myriadrf/gnuradio
- apt-get update
- apt-get install -y --no-install-recommends build-essential libtool automake libhdf5-dev cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libgtest-dev
- cd build
- cmake ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
ubuntu16.04:
image: ubuntu:xenial
stage: build
script:
- apt-get update
- apt-get install -y --no-install-recommends build-essential cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev libgtest-dev
- cd build
- cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
ubuntu18.04:
image: ubuntu:bionic
stage: build
script:
- apt-get update
- apt-get install -y --no-install-recommends build-essential cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest
- cd build
- cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
allow_failure: true
fedora26: fedora26:
image: fedora:26 image: fedora:26
stage: build stage: build
@ -208,16 +197,19 @@ fedora-rawhide:
allow_failure: true allow_failure: true
archlinux: ubuntu14.04:
image: base/devel:latest image: ubuntu:trusty
stage: build stage: build
before_script:
- pwd
script: script:
- pacman -Syu --noconfirm - apt-get update
- pacman -S --noconfirm cmake git boost boost-libs log4cpp libvolk gnuradio gnuradio-osmosdr blas lapack gflags google-glog gnutls openssl python2-mako python2-six libmatio gtest - apt-get install -y apt-file
- apt-file update
- apt-get install -y software-properties-common
- add-apt-repository -y ppa:myriadrf/gnuradio
- apt-get update
- apt-get install -y --no-install-recommends build-essential libtool automake libhdf5-dev cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libgtest-dev
- cd build - cd build
- cmake -DENABLE_OSMOSDR=ON .. - cmake ..
- NPROC=$(grep -c ^processor /proc/cpuinfo) - NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1)) - make -j$(($NPROC+1))
- make check - make check
@ -225,16 +217,12 @@ archlinux:
allow_failure: true allow_failure: true
centos7: ubuntu16.04:
image: centos:centos7 image: ubuntu:xenial
stage: build stage: build
before_script:
- pwd
script: script:
- yum install -y wget - apt-get update
- wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - apt-get install -y --no-install-recommends build-essential cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev libgtest-dev
- rpm -Uvh epel-release-latest-7.noarch.rpm
- yum install -y make automake gcc gcc-c++ kernel-devel libtool hdf5-devel cmake git boost-devel boost-date-time boost-system boost-filesystem boost-thread boost-chrono boost-serialization log4cpp-devel gnuradio-devel gr-osmosdr-devel blas-devel lapack-devel armadillo-devel openssl-devel python-mako python-six
- cd build - cd build
- cmake -DENABLE_OSMOSDR=ON .. - cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo) - NPROC=$(grep -c ^processor /proc/cpuinfo)
@ -243,6 +231,21 @@ centos7:
- make install - make install
ubuntu18.04:
image: ubuntu:bionic
stage: build
script:
- apt-get update
- apt-get install -y --no-install-recommends build-essential cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest
- cd build
- cmake -DENABLE_OSMOSDR=ON ..
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- make -j$(($NPROC+1))
- make check
- make install
allow_failure: true
coverity-scan: coverity-scan:
image: ubuntu:xenial image: ubuntu:xenial
stage: build stage: build