Env var fixed for bundle build

This commit is contained in:
Kovid Goyal 2019-01-26 12:51:17 +05:30
parent 33da5ca869
commit 4dcaec0997
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 3 deletions

View File

@ -44,12 +44,11 @@ jobs:
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 "export LD_LIBRARY_PATH=$SW/lib" >> $BASH_ENV
- run: echo "export PKG_CONFIG_PATH=$SW/lib/pkgconfig" >> $BASH_ENV
- run: echo $LD_LIBRARY_PATH
- run: $SW/bin/python3 setup.py build --debug --verbose
- run: $SW/bin/python3 test.py

View File

@ -41,6 +41,7 @@ RUN python3 /tmp/install-python.py py3.7 https://www.python.org/ftp/python/3.7.2
# Install kitty bundle
ENV SW=/home/circleci/sw
RUN python3 /tmp/install-python.py bundle https://download.calibre-ebook.com/travis/kitty/linux-64.tar.xz
RUN echo SW=$SW >> /etc/environment
# Clean unused files
RUN apt-get clean -y