diff options
author | Micah Lee <micah@micahflee.com> | 2020-03-22 15:32:25 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-03-22 15:32:25 -0700 |
commit | db9abb789db6506010e5338600a3e3fd17bde0c1 (patch) | |
tree | 5c4e5e32ce26d0833c5f7bd4de3ce0599d8d0bab /.circleci | |
parent | 360458372fa2c3b1ac74a8e505e140603a850b7b (diff) | |
download | onionshare-db9abb789db6506010e5338600a3e3fd17bde0c1.tar.gz onionshare-db9abb789db6506010e5338600a3e3fd17bde0c1.zip |
Build Qt from source in circleci
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 20 |
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: | |