Commit f7f42b8d authored by Felix Delattre's avatar Felix Delattre
Browse files

Fixed CI pipeline

parent 6ca98340
dist: focal
language: cpp
compiler:
- clang
- gcc
before_install:
#- sudo apt-add-repository --yes ppa:mapnik/nightly-trunk
#- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -y
- sudo apt update -y
install:
- sudo apt-get -y install build-essential apache2-threaded-dev autotools-dev automake libtool
#- sudo apt-get install -y gcc-4.8 g++-4.8
before_script:
- sudo apt-get -y install libmapnik2-2.0 libmapnik-dev mapnik-utils
#- sudo apt-get -qq install libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*=3.0.0*
- sudo apt -y install apache2-dev libcairo2-dev libcurl4-gnutls-dev libiniparser-dev libmapnik-dev
script:
#- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.8" && export CC="gcc-4.8"; fi;
# workaround https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=63403 and https://bugs.launchpad.net/ubuntu/+source/cairomm/+bug/452733
- export CXXFLAGS="-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include/"
- ./autogen.sh
- ./configure
- make
- make test
jobs:
include:
- stage: tests
script:
- ./autogen.sh
- ./configure
- make
- make test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment