55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
|
workflows:
|
||
|
version: 2
|
||
|
build:
|
||
|
jobs:
|
||
|
- build
|
||
|
|
||
|
version: 2
|
||
|
jobs:
|
||
|
build:
|
||
|
docker:
|
||
|
- image: buildpack-deps:bionic
|
||
|
steps:
|
||
|
- run:
|
||
|
name: Install pre deps
|
||
|
command: |
|
||
|
apt-get update -yqq \
|
||
|
&& apt-get install -yqq \
|
||
|
build-essential \
|
||
|
cmake \
|
||
|
gcc \
|
||
|
g++ \
|
||
|
qt5-default \
|
||
|
qt5-qmake \
|
||
|
qtmultimedia5-dev \
|
||
|
libqt5svg5-dev \
|
||
|
libx11-dev \
|
||
|
libavformat-dev \
|
||
|
libavcodec-dev \
|
||
|
libavutil-dev \
|
||
|
libswscale-dev \
|
||
|
libqt5x11extras5-dev \
|
||
|
libxcb-util-dev \
|
||
|
libxcb-cursor-dev \
|
||
|
libxcb1-dev \
|
||
|
- run:
|
||
|
name: QMake Version
|
||
|
command: qmake --version
|
||
|
- checkout
|
||
|
- run: git submodule sync
|
||
|
- run: git submodule update --init
|
||
|
- run:
|
||
|
name: LS
|
||
|
command: ls -lahR ~/project
|
||
|
- run:
|
||
|
name: Create Build Env
|
||
|
command: mkdir build && pwd && ls
|
||
|
- run:
|
||
|
name: Build
|
||
|
command: |
|
||
|
cd build && pwd && ls;
|
||
|
qmake ..;
|
||
|
make -j2;
|
||
|
- store_artifacts:
|
||
|
path: /root/project/build/src/kshare
|