[poppler] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 31 08:34:14 UTC 2018


 .gitlab-ci.yml |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 38caf0adac8811e663b51656638177397f1400f6
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri Aug 31 10:00:15 2018 +0200

    Add clang + libc++ testing pipeline
    
    Would have catched the missing array include in PSOutputDev

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ead5db15..2bab4f24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ before_script:
   - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
   - apt-get update
   - 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
+  - apt-get install --yes --no-install-recommends ninja-build libcurl4-openssl-dev curl ca-certificates locales libc++-dev libc++abi-dev clang
   - echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
   - locale-gen
 
@@ -24,3 +24,15 @@ build:
   cache:
     paths:
       - build/
+
+build_clang_libcpp:
+  stage: build
+  script:
+    - mkdir -p build_clang && cd build_clang
+    - curl https://gitlab.freedesktop.org/poppler/test/-/archive/master/test-master.tar.gz | tar xz
+    - CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/test-master ..
+    - ninja
+    - ctest --output-on-failure
+  cache:
+    paths:
+      - build_clang/


More information about the poppler mailing list