aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-03-22 15:32:25 -0700
committerMicah Lee <micah@micahflee.com>2020-03-22 15:32:25 -0700
commitdb9abb789db6506010e5338600a3e3fd17bde0c1 (patch)
tree5c4e5e32ce26d0833c5f7bd4de3ce0599d8d0bab /.circleci
parent360458372fa2c3b1ac74a8e505e140603a850b7b (diff)
downloadonionshare-db9abb789db6506010e5338600a3e3fd17bde0c1.tar.gz
onionshare-db9abb789db6506010e5338600a3e3fd17bde0c1.zip
Build Qt from source in circleci
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index e48400ea..32199aff 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -20,6 +20,25 @@ jobs:
steps:
- checkout
+ # https://wiki.qt.io/Building_Qt_5_from_Git
+ - run:
+ name: build Qt5 from source
+ command: |
+ sudo sh -c 'echo "deb-src http://deb.debian.org/debian buster main" >> /etc/apt/sources.list'
+ sudo apt-get update
+ sudo apt-get build-dep qt5-default -y
+ sudo apt-get install -y libxcb-xinerama0-dev
+ sudo apt-get install -y build-essential perl python git
+ sudo apt-get install -y '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
+ git clone git://code.qt.io/qt/qt5.git ~/qt5
+ cd ~/qt5
+ git checkout 5.14.0
+ perl init-repository
+ export LLVM_INSTALL_DIR=/usr/llvm
+ ./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests
+ make -j$(nproc)
+ make install
+
- run:
name: install dependencies
command: |
@@ -28,7 +47,6 @@ jobs:
sudo pip3 install poetry flake8
poetry install
- # run tests!
- run:
name: run flake tests
command: |