mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-10 21:11:21 +00:00
Try to use venv to avoid poetry
dependencies conflict (with Ubuntu image)
This commit is contained in:
parent
3c42ea99bc
commit
2572ec27ee
@ -110,14 +110,16 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Install building requirements on Linux
|
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:
|
- run:
|
||||||
name: Build with build.spec
|
name: Build with build.spec
|
||||||
command: |
|
command: |
|
||||||
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
|
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
|
||||||
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64;
|
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64;
|
||||||
mkdir ${BUILD_FILE_NAME};
|
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:
|
- run:
|
||||||
name: Compress the file
|
name: Compress the file
|
||||||
command: |
|
command: |
|
||||||
|
Loading…
Reference in New Issue
Block a user