diff --git a/.circleci/config.yml b/.circleci/config.yml index dc89667..160adff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,14 +110,16 @@ jobs: - checkout - run: name: Install building requirements on Linux - command: pip install -r ./build_configs/linux/requirements.txt + command: | + python3 -m venv venv; + ./venv/bin/python -m pip install -r ./build_configs/linux/requirements.txt; - run: name: Build with build.spec command: | export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7) export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64; mkdir ${BUILD_FILE_NAME}; - pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec; + ./venv/bin/pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec; - run: name: Compress the file command: |