[poppler] 3 commits - .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 21 07:23:23 UTC 2018


 .gitlab-ci.yml |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

New commits:
commit f1b8626e021a11d2b649be69c563a2a9af210c84
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Tue Aug 21 08:35:31 2018 +0200

    Use a proper UTF-8 locale for non-ASCII file names in the tests and rebase onto Debian unstable

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e867eb18..ac585da9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,17 @@
-image: debian:stable
+image: debian:unstable
 
 before_script:
-  - echo 'deb-src http://deb.debian.org/debian stable main' >> /etc/apt/sources.list
-  - apt update
-  - apt build-dep --yes poppler
-  - apt install --yes cmake ninja-build curl
+  - 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
 
 build:
   stage: build
commit 534aca90732c199e96057111272afbc22796ea60
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Tue Aug 21 08:13:10 2018 +0200

    Also download test-data to be able to run unit tests

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4f2ee38..e867eb18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,13 +4,14 @@ before_script:
   - echo 'deb-src http://deb.debian.org/debian stable main' >> /etc/apt/sources.list
   - apt update
   - apt build-dep --yes poppler
-  - apt install --yes cmake ninja-build
+  - apt install --yes cmake ninja-build curl
 
 build:
   stage: build
   script:
     - mkdir build && cd build
-    - cmake -G Ninja ..
+    - curl https://gitlab.freedesktop.org/poppler/test/-/archive/master/test-master.tar.gz | tar xz
+    - cmake -G Ninja -DTESTDATADIR=$PWD/test-master ..
     - ninja
     - ctest
   cache:
commit 78f8a6abed64a1b9ad320587b614ee87bc7791ab
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Tue Aug 21 08:00:41 2018 +0200

    Add initial GitLab CI manifest

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..e4f2ee38
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+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
+  - apt install --yes cmake ninja-build
+
+build:
+  stage: build
+  script:
+    - mkdir build && cd build
+    - cmake -G Ninja ..
+    - ninja
+    - ctest
+  cache:
+    paths:
+      - build/


More information about the poppler mailing list