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

before_script:
4
5
  - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
  - apt-get update
6
7
  - apt-get build-dep --yes --no-install-recommends poppler
  - apt-get install --yes --no-install-recommends ninja-build libcurl4-openssl-dev curl ca-certificates locales
8
9
10
11
12
13
14
  - 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

build:
  stage: build
  script:
19
    - mkdir -p 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/