2019-04-12 12:14:05 +03:00
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.7
|
2017-11-21 12:40:10 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.7:client-5.7-4
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt57/bin/qt57-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt57/bin/qt57-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2018-06-26 13:49:06 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.8
|
2018-06-26 16:41:23 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.8:client-5.8-4
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt58/bin/qt58-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt58/bin/qt58-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2019-03-21 13:36:23 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.9
|
2019-03-21 13:36:23 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.9:client-5.9-5
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt59/bin/qt59-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt59/bin/qt59-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2017-11-21 12:40:10 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.10
|
2018-01-06 19:03:10 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.10:client-5.10-3
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt510/bin/qt510-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt510/bin/qt510-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2018-01-30 16:23:10 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.11
|
2017-11-21 11:26:46 +03:00
|
|
|
|
2019-04-12 12:14:05 +03:00
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.11:client-5.11-3
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.11-clang
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build and test
|
|
|
|
image: nextcloudci/client-5.11:client-5.11-3
|
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.12
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build and test
|
2019-10-21 15:50:25 +03:00
|
|
|
image: nextcloudci/client-5.12:client-5.12-3
|
2019-04-12 12:14:05 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt512/bin/qt512-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt512/bin/qt512-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: qt-5.12-clang
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build and test
|
2019-10-21 15:50:25 +03:00
|
|
|
image: nextcloudci/client-5.12:client-5.12-3
|
2019-04-12 12:14:05 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt512/bin/qt512-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.9.1 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt512/bin/qt512-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
2019-10-22 00:01:22 +03:00
|
|
|
cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ &&
|
2019-04-12 12:14:05 +03:00
|
|
|
make &&
|
|
|
|
useradd -m -s /bin/bash test &&
|
|
|
|
chown -R test:test . &&
|
2019-10-22 00:01:22 +03:00
|
|
|
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
|
2019-04-12 12:14:05 +03:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: AppImage
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2019-10-21 15:50:25 +03:00
|
|
|
image: nextcloudci/client-5.12:client-5.12-3
|
2019-04-12 12:14:05 +03:00
|
|
|
commands:
|
|
|
|
- /bin/bash -c "./admin/linux/build-appimage.sh"
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2019-04-27 11:46:58 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: Debian
|
2019-04-12 12:14:05 +03:00
|
|
|
|
2019-04-27 11:46:58 +03:00
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: nextcloudci/client-debian-ci:client-debian-ci-2
|
|
|
|
commands:
|
|
|
|
- /bin/bash -c "./admin/linux/debian/drone-build.sh"
|
|
|
|
environment:
|
|
|
|
DEBIAN_SECRET_KEY:
|
|
|
|
from_secret: DEBIAN_SECRET_KEY
|
|
|
|
DEBIAN_SECRET_IV:
|
|
|
|
from_secret: DEBIAN_SECRET_IV
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2019-04-12 12:14:05 +03:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: Documentation
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: nextcloudci/documentation:documentation-5
|
|
|
|
commands:
|
|
|
|
- cd doc
|
|
|
|
- make html
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|