aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-01 10:13:58 -0800
committerMicah Lee <micah@micahflee.com>2020-11-01 10:13:58 -0800
commit208d615ad0d1bda60723a40d09f1b2ca2cd5bcfe (patch)
tree2df68d03a32e6c37e5c330ec3a8e1f4db7ffe8ec /.circleci
parent7ece466d823ed876589071b4f652c4e6f89b1483 (diff)
downloadonionshare-208d615ad0d1bda60723a40d09f1b2ca2cd5bcfe.tar.gz
onionshare-208d615ad0d1bda60723a40d09f1b2ca2cd5bcfe.zip
Add desktop documentation about building CLI wheel, and make CircleCI tests build CLI wheel first as well
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index f8df8451..2c47bfc5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -50,6 +50,10 @@ jobs:
command: |
sudo apt-get update
sudo apt-get install -y xvfb tor obfs4proxy gcc python3-dev
+ cd ~/repo/cli
+ poetry install
+ poetry build
+ cp dist/onionshare_cli-*.whl ~/repo/desktop
cd ~/repo/desktop
pip install briefcase pytest pytest-briefcase pytest-faulthandler pytest-qt
pip install $(python -c 'import toml; print(" ".join(toml.loads(open("pyproject.toml").read())["tool"]["briefcase"]["app"]["onionshare"]["requires"]))')