Subversion Repositories Scribus

Rev

Rev 23865 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23792 jghali 1
language: cpp
20294 craig 2
 
23792 jghali 3
os: linux
4
 
23859 jghali 5
dist: bionic
23792 jghali 6
 
7
compiler:
8
  - clang
9
  - gcc
10
 
11
env:
12
  - NPROC=2
20294 craig 13
 
14
before_install:
23860 jghali 15
  - sudo apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget
16
  - wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
17
  - sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' -y
23859 jghali 18
  - sudo apt-add-repository ppa:beineri/opt-qt-5.14.2-bionic -y
23792 jghali 19
  - sudo apt-get update -qq
20
 
22809 jghali 21
install:
23865 jghali 22
  - sudo apt-get install --force-yes cmake libboost-python-dev libcairo2-dev libcdr-dev libcups2-dev libfreehand-dev libharfbuzz-dev libharfbuzz-icu0 libgraphicsmagick++1-dev libhunspell-dev libhyphen-dev liblcms2-dev libmspub-dev libopenscenegraph-dev libpagemaker-dev libpng-dev libpodofo-dev libpoppler-dev libpoppler-cpp-dev libpoppler-private-dev libqxp-dev libtiff-dev libvisio-dev libwpg-dev libxml2-dev libzmf-dev python3-all-dev python3-tk qt514base qt514declarative qt514imageformats qt514tools zlib1g-dev coreutils binutils poppler-data
23792 jghali 23
 
20294 craig 24
script:
23792 jghali 25
  - source /opt/qt514/bin/qt514-env.sh
26
  - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWANT_HUNSPELL=1 -DWITH_PODOFO=1 -DWANT_GRAPHICSMAGICK=1 -DWANT_DEBUG=0 -DWANT_SVNVERSION=0 -DWANT_GUI_LANG=en_US
27
  - make -j"$NPROC"
28
  - sudo make install
29
  - sudo bash -ex ./AppImage-package/bundle.sh
20294 craig 30
 
23792 jghali 31
jobs:
32
  include:
33
    os: osx
34
    before_install:
35
      - brew update
36
    install:
37
      - brew outdated cmake || brew upgrade cmake
38
      - brew outdated zlib || brew upgrade zlib
39
      - brew outdated icu4c || brew upgrade icu4c
40
      - brew outdated xz || brew upgrade xz
41
      - brew outdated cairo || brew upgrade cairo
42
      - brew outdated qt5 || brew upgrade qt5
43
      - brew outdated little-cms2 || brew upgrade little-cms2
44
      - brew outdated poppler || brew upgrade poppler
45
      - brew outdated python || brew unlink python@2 && brew upgrade python
46
      - brew outdated jpeg || brew upgrade jpeg
47
      - brew outdated libpng || brew upgrade libpng
48
      - brew outdated libtiff || brew upgrade libtiff
49
      - brew outdated fontconfig || brew upgrade fontconfig
50
      - brew outdated pkg-config || brew upgrade pkg-config
51
      - brew outdated boost || brew upgrade boost
52
      - brew outdated freetype || brew upgrade freetype
53
      - brew outdated openssl || brew upgrade openssl
54
      - brew install hunspell podofo ghostscript graphicsmagick harfbuzz librevenge libwpg libvisio libmspub libcdr libpagemaker libfreehand # open-scene-graph
21563 jghali 55
 
23792 jghali 56
    before_script:
57
      - export PKG_CONFIG_PATH="$(pkg-config --variable pc_path pkg-config):/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/qt/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig"
58
      - export LDFLAGS="-L/usr/local/opt/zlib/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/qt/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/hunspell/lib"
59
      - export CXXFLAGS="-I/usr/local/opt/zlib/include -I/usr/local/opt/gettext/include -I/usr/local/opt/qt5/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include -I/usr/local/opt/icu4c/include -I/usr/local/opt/hunspell/include"
60
 
61
    script:
62
      - cmake . -DCMAKE_INSTALL_PREFIX=~/.local -DWANT_HUNSPELL=1 -DWITH_PODOFO=1 -DWANT_GRAPHICSMAGICK=1 -DWANT_DEBUG=0 -DWANT_SVNVERSION=0 -DWANT_GUI_LANG=en_US -DWANT_NOOSG=1 -DBUILD_OSX_BUNDLE=1 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DQT_PREFIX=/usr/local/opt/qt
63
      - make -j"$NPROC"
64
      - make install
65
 
66
 
20505 craig 67
notifications:
20844 jghali 68
  irc:
69
    channels:
24740 craig 70
#    -  "irc.libera.chat#scribus"
71
#    -  "irc.libera.chat#scribus-dev"
20844 jghali 72
    template:
73
    - "%{repository}/%{branch} (%{author}): %{build_url}: %{message}"
74
    on_success: always
75
    on_failure: always