From db9abb789db6506010e5338600a3e3fd17bde0c1 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 22 Mar 2020 15:32:25 -0700 Subject: Build Qt from source in circleci --- .circleci/config.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to '.circleci') 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: | -- cgit v1.2.3-54-g00ecf