From 4dcaec0997c9d60eaf64d08805c0b5b9678c6db3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 Jan 2019 12:51:17 +0530 Subject: [PATCH] Env var fixed for bundle build --- .circleci/config.yml | 5 ++--- .circleci/images/Dockerfile | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 545b6030e..c2746cb9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.circleci/images/Dockerfile b/.circleci/images/Dockerfile index e3b6e9578..272f65b53 100644 --- a/.circleci/images/Dockerfile +++ b/.circleci/images/Dockerfile @@ -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