.gitlab-ci.yml 491 Bytes
Newer Older
Adam Reichold's avatar
Adam Reichold committed
1
2
3
4
5
6
image: debian:stable

before_script:
  - echo 'deb-src http://deb.debian.org/debian stable main' >> /etc/apt/sources.list
  - apt update
  - apt build-dep --yes poppler
7
  - apt install --yes cmake ninja-build curl
Adam Reichold's avatar
Adam Reichold committed
8
9
10
11
12

build:
  stage: build
  script:
    - mkdir build && cd build
13
14
    - curl https://gitlab.freedesktop.org/poppler/test/-/archive/master/test-master.tar.gz | tar xz
    - cmake -G Ninja -DTESTDATADIR=$PWD/test-master ..
Adam Reichold's avatar
Adam Reichold committed
15
16
17
18
19
    - ninja
    - ctest
  cache:
    paths:
      - build/