mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-23 03:51:39 +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
|
||||
- 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: |
|
||||
|
Loading…
Reference in New Issue
Block a user