| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- clone:
- git:
- image: plugins/git
- tags: true
- depth: 1
- pipeline:
- qt-5.7:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.7
- qt-5.8:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.8
- qt-5.9:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.9
- qt-5.10:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.10
- qt-5.11:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.11
- qt-5.11-clang:
- 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 &&
- cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 ../ &&
- make &&
- useradd -m -s /bin/bash test &&
- chown -R test:test . &&
- su -c 'ctest --output-on-failure' test"
- when:
- matrix:
- TESTS: qt-5.11-clang
- AppImage:
- image: nextcloudci/client-5.11:client-5.11-3
- commands:
- - /bin/bash -c "./admin/linux/build-appimage.sh"
- when:
- matrix:
- BUILD: AppImage
- Debian:
- image: nextcloudci/client-debian-ci:client-debian-ci-2
- commands:
- - /bin/bash -c "./admin/linux/debian/drone-build.sh"
- secrets: [ DEBIAN_SECRET_KEY, DEBIAN_SECRET_IV ]
- when:
- matrix:
- BUILD: Debian
- documentation:
- image: nextcloudci/documentation:documentation-5
- commands:
- - cd doc
- - make html
- when:
- matrix:
- TESTS: documentation
- matrix:
- include:
- - TESTS: qt-5.7
- - TESTS: qt-5.8
- - TESTS: qt-5.9
- - TESTS: qt-5.10
- - TESTS: qt-5.11
- - TESTS: qt-5.11-clang
- - BUILD: AppImage
- - BUILD: Debian
- - TESTS: documentation
- branches: [ master, 2.* ]
|