From 2232b083510466084bd2cae0dbc402d60648fa01 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 23 Jan 2020 12:37:20 -0500 Subject: [PATCH] fix gitlab ci --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4fb053c62..347183a6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,8 +72,8 @@ test:json-api: script: - pip install --upgrade 'setuptools<45.0.0' - pip install pyinstaller - - python3.7 docker/set_build.py - pip install -e . + - python3.7 docker/set_build.py # must come after lbry is installed because it imports lbry - pyinstaller --onefile --name lbrynet lbry/extras/cli.py - chmod +x dist/lbrynet - zip --junk-paths ${CI_PROJECT_DIR}/lbrynet-${OS}.zip dist/lbrynet # gitlab expects artifacts to be in $CI_PROJECT_DIR @@ -129,8 +129,8 @@ build:windows: script: - pip install --upgrade 'setuptools<45.0.0' - pip install pyinstaller==3.5 - - python docker/set_build.py - pip install -e . + - python docker/set_build.py # must come after lbry is installed because it imports lbry - pyinstaller --additional-hooks-dir=scripts/. --icon=icons/lbry256.ico -F -n lbrynet lbry/extras/cli.py - 7z a -tzip $env:CI_PROJECT_DIR/lbrynet-${OS}.zip ./dist/lbrynet.exe - checksum --type=sha256 --file=$env:CI_PROJECT_DIR/lbrynet-${OS}.zip