kitty/.circleci/config.yml
2019-01-26 12:30:50 +05:30

66 lines
1.8 KiB
YAML

version: 2
jobs:
lin-sys:
docker:
- image: kovidgoyal/kitty-test:latest
steps:
- checkout
- run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi
- run: python3 -m flake8 --count .
- run: python3 setup.py build --debug --verbose
- run: python3 test.py
- run: make FAIL_WARN=-W man
- run: make FAIL_WARN=-W html
- run: python3 setup.py linux-package
lin-35:
docker:
- image: kovidgoyal/kitty-test:latest
environment:
CC: gcc
CFLAGS: -funsigned-char
LD_LIBRARY_PATH: /opt/py3.5/lib
ASAN_OPTIONS: leak_check_at_exit=0
steps:
- checkout
- run: /opt/py3.5/bin/python3 setup.py build --debug --verbose --sanitize
- run: ./asan-launcher test.py
lin-37:
docker:
- image: kovidgoyal/kitty-test:latest
environment:
CC: clang
LD_LIBRARY_PATH: /opt/py3.7/lib
ASAN_OPTIONS: leak_check_at_exit=0
steps:
- checkout
- run: /opt/py3.7/bin/python3 setup.py build --debug --verbose --sanitize
- run: ./asan-launcher test.py
lin-bundle:
docker:
- image: kovidgoyal/kitty-test:latest
environment:
SW: $HOME/sw
LD_LIBRARY_PATH: $SW/lib
PKG_CONFIG_PATH: $SW/lib/pkgconfig
ASAN_OPTIONS: leak_check_at_exit=0
steps:
- checkout
- run: echo $LD_LIBRARY_PATH
- run: $SW/bin/python3 setup.py build --debug --verbose
- run: $SW/bin/python3 test.py
workflows:
version: 2
all_jobs:
jobs:
- lin-sys
- lin-35
- lin-37
- lin-bundle