.gitlab-ci.yml 663 Bytes
Newer Older
1
image: debian:unstable
Adam Reichold's avatar
Adam Reichold committed
2
3

before_script:
4
5
6
7
8
9
10
11
12
13
14
  - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
  - apt-get update
  - apt-get build-dep --yes poppler
  - apt-get install --yes ninja-build curl ca-certificates locales
  - echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
  - locale-gen

variables:
  LANG: en_US.UTF-8
  LANGUAGE: en_US:en
  LC_ALL: en_US.UTF-8
Adam Reichold's avatar
Adam Reichold committed
15
16
17
18
19

build:
  stage: build
  script:
    - mkdir build && cd build
20
21
    - 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
22
23
24
25
26
    - ninja
    - ctest
  cache:
    paths:
      - build/