compilescript allows you to execute files from compiled languages as scripts.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. pipeline:
  2. gcc5:
  3. image: debian:stretch-slim
  4. pull: true
  5. when:
  6. event: [push, pull_request]
  7. environment:
  8. - LANG=C.utf8
  9. - CXX=g++-5
  10. - CXXFLAGS=-pipe -O2
  11. commands:
  12. - rm /etc/apt/apt.conf.d/docker-clean
  13. - apt-get update -q
  14. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  15. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  16. - apt-get install -qy gnupg
  17. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  18. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  19. - apt-get update -q
  20. - apt-get install -qy -t xenial g++-5
  21. - apt-get install -qy cmake pkg-config
  22. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  23. - rm -rf build && mkdir -p build && cd build
  24. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  25. - make VERBOSE=1
  26. volumes:
  27. - /var/cache/debian-package-cache:/var/cache/apt/archives
  28. gcc6:
  29. image: debian:stretch-slim
  30. pull: true
  31. environment:
  32. - LANG=C.utf8
  33. - CXX=g++-6
  34. - CXXFLAGS=-pipe -O2
  35. commands:
  36. - rm /etc/apt/apt.conf.d/docker-clean
  37. - apt-get update -q
  38. - apt-get install -qy g++-6 cmake pkg-config
  39. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  40. - apt-get install -qy dpkg-dev d-shlibs rpm file wget
  41. - rm -rf build && mkdir -p build && cd build
  42. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  43. - make VERBOSE=1
  44. - make install DESTDIR=install
  45. volumes:
  46. - /var/cache/debian-package-cache:/var/cache/apt/archives
  47. gcc7:
  48. image: debian:stretch-slim
  49. pull: true
  50. when:
  51. event: [push, pull_request]
  52. environment:
  53. - LANG=C.utf8
  54. - CXX=g++-7
  55. - CXXFLAGS=-pipe -O2
  56. commands:
  57. - rm /etc/apt/apt.conf.d/docker-clean
  58. - apt-get update -q
  59. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  60. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  61. - apt-get install -qy gnupg
  62. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  63. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  64. - apt-get update -q
  65. - apt-get install -qy -t xenial g++-7
  66. - apt-get install -qy cmake pkg-config
  67. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  68. - rm -rf build && mkdir -p build && cd build
  69. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  70. - make VERBOSE=1
  71. volumes:
  72. - /var/cache/debian-package-cache:/var/cache/apt/archives
  73. gcc8:
  74. image: debian:stretch-slim
  75. pull: true
  76. when:
  77. event: [push, pull_request]
  78. environment:
  79. - LANG=C.utf8
  80. - CXX=g++-8
  81. - CXXFLAGS=-pipe -O2
  82. commands:
  83. - rm /etc/apt/apt.conf.d/docker-clean
  84. - apt-get update -q
  85. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  86. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  87. - apt-get install -qy gnupg
  88. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  89. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  90. - apt-get update -q
  91. - apt-get install -qy -t xenial g++-8
  92. - apt-get install -qy cmake pkg-config
  93. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  94. - rm -rf build && mkdir -p build && cd build
  95. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  96. - make VERBOSE=1
  97. volumes:
  98. - /var/cache/debian-package-cache:/var/cache/apt/archives
  99. clang3:
  100. image: debian:stretch-slim
  101. pull: true
  102. when:
  103. event: [push, pull_request]
  104. environment:
  105. - LANG=C.utf8
  106. - CXX=clang++
  107. - CXXFLAGS=-pipe -O2
  108. commands:
  109. - rm /etc/apt/apt.conf.d/docker-clean
  110. - apt-get update -q
  111. - apt-get install -qy clang cmake pkg-config
  112. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  113. - rm -rf build && mkdir -p build && cd build
  114. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  115. - make VERBOSE=1
  116. volumes:
  117. - /var/cache/debian-package-cache:/var/cache/apt/archives
  118. clang5:
  119. image: debian:stretch-slim
  120. pull: true
  121. when:
  122. event: [push, pull_request]
  123. environment:
  124. - LANG=C.utf8
  125. - CXX=clang++-5.0
  126. - CXXFLAGS=-pipe -O2
  127. commands:
  128. - rm /etc/apt/apt.conf.d/docker-clean
  129. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  130. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list
  131. - apt-get update -q
  132. - apt-get install -qy -t stretch-backports clang-5.0
  133. - apt-get install -qy cmake pkg-config
  134. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  135. - rm -rf build && mkdir -p build && cd build
  136. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  137. - make VERBOSE=1
  138. volumes:
  139. - /var/cache/debian-package-cache:/var/cache/apt/archives
  140. clang6:
  141. image: debian:stretch-slim
  142. pull: true
  143. when:
  144. event: [push, pull_request]
  145. environment:
  146. - LANG=C.utf8
  147. - CXX=clang++-6.0
  148. - CXXFLAGS=-pipe -O2
  149. commands:
  150. - rm /etc/apt/apt.conf.d/docker-clean
  151. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  152. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list
  153. - apt-get update -q
  154. - apt-get install -qy -t stretch-backports clang-6.0
  155. - apt-get install -qy cmake pkg-config
  156. - apt-get install -qy libconfig++-dev libxdg-basedir-dev asciidoc
  157. - rm -rf build && mkdir -p build && cd build
  158. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  159. - make VERBOSE=1
  160. volumes:
  161. - /var/cache/debian-package-cache:/var/cache/apt/archives
  162. notify:
  163. image: drillster/drone-email
  164. pull: true
  165. host: cryptoparty-celle.de
  166. secrets: [ email_username, email_password ]
  167. from: drone@tzend.de
  168. when:
  169. status: [ changed, failure ]