summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnurag Thakur <anuthadev@gmail.com>2021-10-13 21:20:35 +0530
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-10-14 02:00:10 +0000
commit943a6bf7e67869fdb8a47b9dd83d13fa77b76aea (patch)
treebd5f00e279807ba1d644c2963b503f0bc96ef981
parentede96b239b90bf9c9d9a01f06005ae09fb4fa19b (diff)
downloadfreetype2-943a6bf7e67869fdb8a47b9dd83d13fa77b76aea.tar.gz
Add clang build to linux CI
-rw-r--r--.gitlab-ci.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0fc7fe60b..5140aa7e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,7 +86,8 @@ linux autotools:
--with-bzip2=no \
--with-harfbuzz=no \
--with-png=no \
- --with-zlib=no
+ --with-zlib=no \
+ CC=gcc
make -j$(nproc) && make install
@@ -98,7 +99,21 @@ linux autotools libs:
--with-bzip2=yes \
--with-harfbuzz=yes \
--with-png=yes \
- --with-zlib=yes
+ --with-zlib=yes \
+ CC=gcc
+
+ make -j$(nproc) && make install
+
+linux autotools libs clang:
+ extends: '.build linux common'
+ script: |
+ ./autogen.sh
+ ./configure --with-brotli=yes \
+ --with-bzip2=yes \
+ --with-harfbuzz=yes \
+ --with-png=yes \
+ --with-zlib=yes \
+ CC=clang
make -j$(nproc) && make install