Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

112 lignes
3.5 KiB

  1. # Copyright (c) 2015, Google Inc.
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  10. # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  12. # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  13. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. hooks = [
  15. {
  16. 'name': 'cmake_linux64',
  17. 'pattern': '.',
  18. 'action': [ 'download_from_google_storage',
  19. '--no_resume',
  20. '--platform=linux*',
  21. '--no_auth',
  22. '--bucket', 'chromium-tools',
  23. '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
  24. ],
  25. },
  26. {
  27. 'name': 'cmake_mac',
  28. 'pattern': '.',
  29. 'action': [ 'download_from_google_storage',
  30. '--no_resume',
  31. '--platform=darwin',
  32. '--no_auth',
  33. '--bucket', 'chromium-tools',
  34. '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
  35. ],
  36. },
  37. {
  38. 'name': 'cmake_win32',
  39. 'pattern': '.',
  40. 'action': [ 'download_from_google_storage',
  41. '--no_resume',
  42. '--platform=win32',
  43. '--no_auth',
  44. '--bucket', 'chromium-tools',
  45. '-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
  46. ],
  47. },
  48. {
  49. 'name': 'perl_win32',
  50. 'pattern': '.',
  51. 'action': [ 'download_from_google_storage',
  52. '--no_resume',
  53. '--platform=win32',
  54. '--no_auth',
  55. '--bucket', 'chromium-tools',
  56. '-s', 'boringssl/util/bot/perl-win32.zip.sha1',
  57. ],
  58. },
  59. {
  60. 'name': 'yasm_win32',
  61. 'pattern': '.',
  62. 'action': [ 'download_from_google_storage',
  63. '--no_resume',
  64. '--platform=win32',
  65. '--no_auth',
  66. '--bucket', 'chromium-tools',
  67. '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
  68. ],
  69. },
  70. # TODO(davidben): Only extract archives when they've changed. Extracting perl
  71. # on Windows is a significant part of the cycle time.
  72. {
  73. 'name': 'cmake_linux64_extract',
  74. 'pattern': '.',
  75. 'action': [ 'python',
  76. 'boringssl/util/bot/extract.py',
  77. 'boringssl/util/bot/cmake-linux64.tar.gz',
  78. 'boringssl/util/bot/cmake-linux64/',
  79. ],
  80. },
  81. {
  82. 'name': 'cmake_mac_extract',
  83. 'pattern': '.',
  84. 'action': [ 'python',
  85. 'boringssl/util/bot/extract.py',
  86. 'boringssl/util/bot/cmake-mac.tar.gz',
  87. 'boringssl/util/bot/cmake-mac/',
  88. ],
  89. },
  90. {
  91. 'name': 'cmake_win32_extract',
  92. 'pattern': '.',
  93. 'action': [ 'python',
  94. 'boringssl/util/bot/extract.py',
  95. 'boringssl/util/bot/cmake-win32.zip',
  96. 'boringssl/util/bot/cmake-win32/',
  97. ],
  98. },
  99. {
  100. 'name': 'perl_win32_extract',
  101. 'pattern': '.',
  102. 'action': [ 'python',
  103. 'boringssl/util/bot/extract.py',
  104. '--no-prefix',
  105. 'boringssl/util/bot/perl-win32.zip',
  106. 'boringssl/util/bot/perl-win32/',
  107. ],
  108. },
  109. ]