ref: 943a6bf7e67869fdb8a47b9dd83d13fa77b76aea
parent: ede96b239b90bf9c9d9a01f06005ae09fb4fa19b
author: Anurag Thakur <anuthadev@gmail.com>
date: Wed Oct 13 17:20:35 EDT 2021
Add clang build to linux CI
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,7 +86,8 @@
--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 @@
--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