mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Build Qt from source in circleci
This commit is contained in:
parent
360458372f
commit
db9abb789d
@ -20,6 +20,25 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- 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:
|
- run:
|
||||||
name: install dependencies
|
name: install dependencies
|
||||||
command: |
|
command: |
|
||||||
@ -28,7 +47,6 @@ jobs:
|
|||||||
sudo pip3 install poetry flake8
|
sudo pip3 install poetry flake8
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
# run tests!
|
|
||||||
- run:
|
- run:
|
||||||
name: run flake tests
|
name: run flake tests
|
||||||
command: |
|
command: |
|
||||||
|
Loading…
Reference in New Issue
Block a user