.drone.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. clone:
  2. git:
  3. image: plugins/git
  4. tags: true
  5. pipeline:
  6. qt-5.7:
  7. image: nextcloudci/client-5.7:client-5.7-2
  8. commands:
  9. # Install QtKeyChain
  10. - /bin/bash -c "
  11. source /opt/qt57/bin/qt57-env.sh &&
  12. cd /tmp &&
  13. git clone https://github.com/frankosterfeld/qtkeychain.git &&
  14. cd qtkeychain &&
  15. git checkout v0.8.0 &&
  16. mkdir build &&
  17. cd build &&
  18. cmake ../ &&
  19. make &&
  20. make install"
  21. # Build client
  22. - /bin/bash -c "
  23. source /opt/qt57/bin/qt57-env.sh &&
  24. mkdir build &&
  25. cd build &&
  26. cmake -D NO_SHIBBOLETH=1 ../ &&
  27. make"
  28. when:
  29. matrix:
  30. TESTS: qt-5.7
  31. qt-5.8:
  32. image: nextcloudci/client-5.8:client-5.8-2
  33. commands:
  34. # Install QtKeyChain
  35. - /bin/bash -c "
  36. source /opt/qt58/bin/qt58-env.sh &&
  37. cd /tmp &&
  38. git clone https://github.com/frankosterfeld/qtkeychain.git &&
  39. cd qtkeychain &&
  40. git checkout v0.8.0 &&
  41. mkdir build &&
  42. cd build &&
  43. cmake ../ &&
  44. make &&
  45. make install"
  46. # Build client
  47. - /bin/bash -c "
  48. source /opt/qt58/bin/qt58-env.sh &&
  49. mkdir build &&
  50. cd build &&
  51. cmake -D NO_SHIBBOLETH=1 ../ &&
  52. make"
  53. when:
  54. matrix:
  55. TESTS: qt-5.8
  56. qt-5.9:
  57. image: nextcloudci/client-5.9:client-5.9-3
  58. commands:
  59. # Install QtKeyChain
  60. - /bin/bash -c "
  61. source /opt/qt59/bin/qt59-env.sh &&
  62. cd /tmp &&
  63. git clone https://github.com/frankosterfeld/qtkeychain.git &&
  64. cd qtkeychain &&
  65. git checkout v0.8.0 &&
  66. mkdir build &&
  67. cd build &&
  68. cmake ../ &&
  69. make &&
  70. make install"
  71. # Build client
  72. - /bin/bash -c "
  73. source /opt/qt59/bin/qt59-env.sh &&
  74. mkdir build &&
  75. cd build &&
  76. cmake -D NO_SHIBBOLETH=1 ../ &&
  77. make"
  78. when:
  79. matrix:
  80. TESTS: qt-5.9
  81. AppImage-5.9:
  82. image: nextcloudci/client-appimage-ci:client-appimage-ci-9
  83. commands:
  84. - /bin/bash -c "./admin/linux/build-appimage.sh"
  85. when:
  86. matrix:
  87. BUILD: AppImage
  88. Debian:
  89. image: nextcloudci/client-debian-ci:client-debian-ci-2
  90. commands:
  91. - /bin/bash -c "./admin/linux/debian/drone-build.sh"
  92. secrets: [ DEBIAN_SECRET_KEY, DEBIAN_SECRET_IV ]
  93. when:
  94. matrix:
  95. BUILD: Debian
  96. documentation:
  97. image: nextcloudci/documentation:documentation-5
  98. commands:
  99. - cd doc
  100. - make html
  101. when:
  102. matrix:
  103. TESTS: documentation
  104. matrix:
  105. include:
  106. - TESTS: qt-5.7
  107. - TESTS: qt-5.8
  108. - TESTS: qt-5.9
  109. - BUILD: AppImage
  110. - BUILD: Debian
  111. - TESTS: documentation
  112. branches: [ master, 2.* ]