mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Build with clang as well on the CI server
This commit is contained in:
@@ -10,6 +10,7 @@ addons:
|
|||||||
- libxrandr-dev
|
- libxrandr-dev
|
||||||
- libxinerama-dev
|
- libxinerama-dev
|
||||||
- libxcursor-dev
|
- libxcursor-dev
|
||||||
|
- clang
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.5"
|
- "3.5"
|
||||||
@@ -22,7 +23,10 @@ install:
|
|||||||
- make install
|
- make install
|
||||||
- cd ..
|
- cd ..
|
||||||
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig pkg-config --cflags glfw3
|
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig pkg-config --cflags glfw3
|
||||||
|
env:
|
||||||
|
- CC=gcc
|
||||||
|
- CC=clang
|
||||||
before_script:
|
before_script:
|
||||||
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig python setup.py
|
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig python setup.py build --debug
|
||||||
script:
|
script:
|
||||||
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig LD_LIBRARY_PATH=$HOME/glfw/lib python setup.py test
|
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig LD_LIBRARY_PATH=$HOME/glfw/lib python setup.py test
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ the following dependencies are installed first.
|
|||||||
* glfw-dev >= 3.2
|
* glfw-dev >= 3.2
|
||||||
* freetype
|
* freetype
|
||||||
* fontconfig
|
* fontconfig
|
||||||
* gcc (required for building, clang should also work, but it is not tested)
|
* gcc or clang (required for building)
|
||||||
* pkg-config (required for building)
|
* pkg-config (required for building)
|
||||||
|
|
||||||
Install kitty with:
|
Install kitty with:
|
||||||
|
|||||||
Reference in New Issue
Block a user