switched to cricleci for linux
This commit is contained in:
parent
32ea161483
commit
37095cd8e4
54
.circleci/config.yml
Normal file
54
.circleci/config.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
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
|
23
.travis.yml
23
.travis.yml
@ -1,23 +0,0 @@
|
|||||||
os: osx
|
|
||||||
language: cpp
|
|
||||||
before_install:
|
|
||||||
- brew install qt ffmpeg
|
|
||||||
- brew link qt --force
|
|
||||||
- mkdir build
|
|
||||||
script:
|
|
||||||
- cd build
|
|
||||||
- qmake ..
|
|
||||||
- make -j$(($(nproc) + 1))
|
|
||||||
- mkdir done
|
|
||||||
- zip done/output.zip KShare.app -r
|
|
||||||
deploy:
|
|
||||||
provider: s3
|
|
||||||
access_key_id: AKIAIHF2FGD2SKLGJOQA
|
|
||||||
secret_access_key:
|
|
||||||
secure: DzDQejh1jVi0fov/j9JQU+TGyrDSoKUSBO2YXu9XskyyJb5fDITZ4m1SicK4Iev5GeFUYCPP4xUqJyLPGDnfqLEF9Uc3AZJV48AUAwaUnfgfGy6QYs2cMjuT5CyKnpybVRJpqqWYOkiNeUNuLnuZ8quU/p8l1Ib4y4oZlMKNcK0xON83zb86oXTSrenqEFDrAIEvZDFLWjEXeLjKIiT5sy9aRsNDfizOekjU7n0tz6jBtbX4RzV3x31PKc4pwGuiUlFwjOxwLju4BSD6YtsvJGUIyN+FhS0wWBTqEGl1+6TAAJQDVuntvX/GjFCG6FLessqbFg6QxMi4sczHZMRNSQKiUj18sJfJMkrL0scMHUI7F5NoArvlsxE2C7EjhghEQzxV/8BcCw68LhUutXf64g0wt1E3wunktrFPGYLHEwMPYnRtqOLY+quwsDDoV/VYnIHFeiY18VkuwC47Ps1b6EZJuY0cmfRGFMCpK6qbeRIrkCxpN1ZTslthuuz0yBn4/8PYCn/jtIP5mI5fXtl1DGav7vD2o2g26E9gYpCpDxkFEOZAzBtUdEHzMogjcvvK2POyy4fMReHMDvgVZ5c0XZkcTJX0Db4iVmxOnNBMF9qxSQnDlZLLFEr0D5j48tKFIGTzsCxmRLj52syPii/4RRMhW2SAhF1qaqCNZPz0VXI=
|
|
||||||
bucket: kshare-s3
|
|
||||||
local-dir: build/done
|
|
||||||
acl: public_read
|
|
||||||
on:
|
|
||||||
repo: ArsenArsen/KShare
|
|
||||||
branch: dev
|
|
Loading…
Reference in New Issue
Block a user