script_core 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/ext/enterprise_script_service/libseccomp/.travis.yml +3 -5
  4. data/ext/enterprise_script_service/libseccomp/CHANGELOG +10 -0
  5. data/ext/enterprise_script_service/libseccomp/CREDITS +3 -0
  6. data/ext/enterprise_script_service/libseccomp/README.md +18 -0
  7. data/ext/enterprise_script_service/libseccomp/configure.ac +1 -1
  8. data/ext/enterprise_script_service/libseccomp/include/seccomp-syscalls.h +7 -0
  9. data/ext/enterprise_script_service/libseccomp/src/arch-s390-syscalls.c +16 -0
  10. data/ext/enterprise_script_service/libseccomp/src/arch-s390x-syscalls.c +16 -0
  11. data/ext/enterprise_script_service/libseccomp/tests/.gitignore +1 -0
  12. data/ext/enterprise_script_service/libseccomp/tests/15-basic-resolver.c +3 -3
  13. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.c +48 -0
  14. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.py +38 -0
  15. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.tests +11 -0
  16. data/ext/enterprise_script_service/libseccomp/tests/Makefile.am +6 -3
  17. data/ext/enterprise_script_service/libseccomp/tests/regression +4 -0
  18. data/ext/enterprise_script_service/libseccomp/tools/Makefile.am +0 -3
  19. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_sim.c +2 -0
  20. data/ext/enterprise_script_service/mruby/.github/workflows/build.yml +106 -0
  21. data/ext/enterprise_script_service/mruby/.github/workflows/main.yml +24 -0
  22. data/ext/enterprise_script_service/mruby/.gitignore +3 -0
  23. data/ext/enterprise_script_service/mruby/.travis.yml +6 -9
  24. data/ext/enterprise_script_service/mruby/AUTHORS +1 -0
  25. data/ext/enterprise_script_service/mruby/Doxyfile +1 -1
  26. data/ext/enterprise_script_service/mruby/LICENSE +1 -1
  27. data/ext/enterprise_script_service/mruby/README.md +6 -2
  28. data/ext/enterprise_script_service/mruby/appveyor.yml +9 -12
  29. data/ext/enterprise_script_service/mruby/appveyor_config.rb +9 -0
  30. data/ext/enterprise_script_service/mruby/build_config.rb +6 -6
  31. data/ext/enterprise_script_service/mruby/doc/guides/compile.md +6 -2
  32. data/ext/enterprise_script_service/mruby/doc/guides/debugger.md +1 -1
  33. data/ext/enterprise_script_service/mruby/doc/guides/mrbconf.md +4 -8
  34. data/ext/enterprise_script_service/mruby/doc/limitations.md +10 -10
  35. data/ext/enterprise_script_service/mruby/doc/opcode.md +108 -95
  36. data/ext/enterprise_script_service/mruby/examples/targets/build_config_ArduinoDue.rb +2 -2
  37. data/ext/enterprise_script_service/mruby/examples/targets/build_config_IntelEdison.rb +2 -2
  38. data/ext/enterprise_script_service/mruby/examples/targets/build_config_IntelGalileo.rb +2 -2
  39. data/ext/enterprise_script_service/mruby/examples/targets/build_config_RX630.rb +2 -2
  40. data/ext/enterprise_script_service/mruby/examples/targets/build_config_chipKITMax32.rb +2 -2
  41. data/ext/enterprise_script_service/mruby/examples/targets/build_config_dreamcast_shelf.rb +108 -0
  42. data/ext/enterprise_script_service/mruby/include/mrbconf.h +10 -7
  43. data/ext/enterprise_script_service/mruby/include/mruby.h +11 -9
  44. data/ext/enterprise_script_service/mruby/include/mruby/array.h +4 -0
  45. data/ext/enterprise_script_service/mruby/include/mruby/boxing_nan.h +11 -2
  46. data/ext/enterprise_script_service/mruby/include/mruby/boxing_word.h +0 -9
  47. data/ext/enterprise_script_service/mruby/include/mruby/common.h +10 -0
  48. data/ext/enterprise_script_service/mruby/include/mruby/compile.h +11 -3
  49. data/ext/enterprise_script_service/mruby/include/mruby/dump.h +1 -17
  50. data/ext/enterprise_script_service/mruby/include/mruby/irep.h +10 -0
  51. data/ext/enterprise_script_service/mruby/include/mruby/istruct.h +4 -1
  52. data/ext/enterprise_script_service/mruby/include/mruby/khash.h +23 -5
  53. data/ext/enterprise_script_service/mruby/include/mruby/numeric.h +1 -0
  54. data/ext/enterprise_script_service/mruby/include/mruby/ops.h +3 -2
  55. data/ext/enterprise_script_service/mruby/include/mruby/string.h +2 -1
  56. data/ext/enterprise_script_service/mruby/include/mruby/value.h +7 -12
  57. data/ext/enterprise_script_service/mruby/include/mruby/version.h +4 -4
  58. data/ext/enterprise_script_service/mruby/lib/mruby/build.rb +2 -30
  59. data/ext/enterprise_script_service/mruby/lib/mruby/build/command.rb +21 -46
  60. data/ext/enterprise_script_service/mruby/lib/mruby/gem.rb +9 -0
  61. data/ext/enterprise_script_service/mruby/lib/mruby/source.rb +3 -1
  62. data/ext/enterprise_script_service/mruby/mrbgems/default.gembox +7 -0
  63. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/mrblib/array.rb +0 -31
  64. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/test/array.rb +0 -13
  65. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-config/mrbgem.rake +5 -2
  66. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +0 -1
  67. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h +5 -1
  68. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +5 -1
  69. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c +7 -11
  70. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/mrbgem.rake +0 -1
  71. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +6 -2
  72. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c +6 -2
  73. data/ext/enterprise_script_service/mruby/mrbgems/mruby-class-ext/src/class.c +6 -1
  74. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/codegen.c +76 -48
  75. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/parse.y +107 -32
  76. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/y.tab.c +13153 -0
  77. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/mrbgem.rake +13 -15
  78. data/ext/enterprise_script_service/mruby/mrbgems/mruby-error/src/exception.c +3 -3
  79. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/src/eval.c +2 -213
  80. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/test/eval.rb +21 -0
  81. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/src/hash-ext.c +1 -3
  82. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/include/mruby/ext/io.h +39 -7
  83. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake +2 -8
  84. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/file_constants.rb +0 -16
  85. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/io.rb +7 -12
  86. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file.c +76 -30
  87. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file_test.c +9 -10
  88. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/io.c +323 -120
  89. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file.rb +18 -12
  90. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/io.rb +32 -0
  91. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/mruby_io_test.c +57 -49
  92. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/src/metaprog.c +15 -17
  93. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/test/metaprog.rb +9 -0
  94. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/src/method.c +1 -1
  95. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/src/object.c +3 -12
  96. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/src/pack.c +113 -10
  97. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/src/print.c +5 -1
  98. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/src/proc.c +2 -2
  99. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/src/rational.c +9 -9
  100. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c +1 -1
  101. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake +1 -1
  102. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/test/sockettest.c +3 -2
  103. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/sprintf.c +61 -24
  104. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/test/sprintf.rb +5 -23
  105. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/src/string.c +3 -3
  106. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/src/symbol.c +1 -1
  107. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/mrbgem.rake +1 -0
  108. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/src/time.c +6 -5
  109. data/ext/enterprise_script_service/mruby/mrblib/hash.rb +3 -3
  110. data/ext/enterprise_script_service/mruby/src/array.c +11 -0
  111. data/ext/enterprise_script_service/mruby/src/backtrace.c +2 -2
  112. data/ext/enterprise_script_service/mruby/src/class.c +26 -11
  113. data/ext/enterprise_script_service/mruby/src/codedump.c +4 -0
  114. data/ext/enterprise_script_service/mruby/src/debug.c +8 -5
  115. data/ext/enterprise_script_service/mruby/src/dump.c +3 -65
  116. data/ext/enterprise_script_service/mruby/src/error.c +57 -5
  117. data/ext/enterprise_script_service/mruby/src/etc.c +13 -4
  118. data/ext/enterprise_script_service/mruby/src/fmt_fp.c +98 -21
  119. data/ext/enterprise_script_service/mruby/src/gc.c +10 -275
  120. data/ext/enterprise_script_service/mruby/src/hash.c +5 -6
  121. data/ext/enterprise_script_service/mruby/src/kernel.c +2 -2
  122. data/ext/enterprise_script_service/mruby/src/load.c +56 -30
  123. data/ext/enterprise_script_service/mruby/src/numeric.c +22 -10
  124. data/ext/enterprise_script_service/mruby/src/object.c +12 -4
  125. data/ext/enterprise_script_service/mruby/src/print.c +27 -3
  126. data/ext/enterprise_script_service/mruby/src/proc.c +21 -1
  127. data/ext/enterprise_script_service/mruby/src/state.c +34 -11
  128. data/ext/enterprise_script_service/mruby/src/string.c +69 -35
  129. data/ext/enterprise_script_service/mruby/src/symbol.c +12 -10
  130. data/ext/enterprise_script_service/mruby/src/vm.c +21 -30
  131. data/ext/enterprise_script_service/mruby/tasks/gitlab.rake +19 -22
  132. data/ext/enterprise_script_service/mruby/tasks/mrbgems.rake +1 -1
  133. data/ext/enterprise_script_service/mruby/tasks/toolchains/android.rake +46 -1
  134. data/ext/enterprise_script_service/mruby/tasks/toolchains/gcc.rake +3 -3
  135. data/ext/enterprise_script_service/mruby/tasks/toolchains/openwrt.rake +6 -6
  136. data/ext/enterprise_script_service/mruby/tasks/toolchains/visualcpp.rake +8 -8
  137. data/ext/enterprise_script_service/mruby/test/assert.rb +5 -4
  138. data/ext/enterprise_script_service/mruby/test/t/ensure.rb +8 -26
  139. data/ext/enterprise_script_service/mruby/test/t/exception.rb +2 -2
  140. data/ext/enterprise_script_service/mruby/test/t/kernel.rb +8 -24
  141. data/ext/enterprise_script_service/mruby/travis_config.rb +0 -14
  142. data/ext/enterprise_script_service/msgpack/.github/depends/boost.sh +56 -0
  143. data/ext/enterprise_script_service/msgpack/.github/workflows/coverage.yml +62 -0
  144. data/ext/enterprise_script_service/msgpack/.github/workflows/gha.yml +304 -0
  145. data/ext/enterprise_script_service/msgpack/CHANGELOG.md +11 -0
  146. data/ext/enterprise_script_service/msgpack/CMakeLists.txt +82 -39
  147. data/ext/enterprise_script_service/msgpack/Files.cmake +22 -12
  148. data/ext/enterprise_script_service/msgpack/QUICKSTART-C.md +26 -29
  149. data/ext/enterprise_script_service/msgpack/README.md +3 -2
  150. data/ext/enterprise_script_service/msgpack/appveyor.yml +6 -2
  151. data/ext/enterprise_script_service/msgpack/ci/build_cmake.sh +3 -1
  152. data/ext/enterprise_script_service/msgpack/cmake/CodeCoverage.cmake +55 -0
  153. data/ext/enterprise_script_service/msgpack/codecov.yml +36 -0
  154. data/ext/enterprise_script_service/msgpack/example/CMakeLists.txt +9 -5
  155. data/ext/enterprise_script_service/msgpack/example/boost/CMakeLists.txt +1 -1
  156. data/ext/enterprise_script_service/msgpack/example/c/CMakeLists.txt +17 -6
  157. data/ext/enterprise_script_service/msgpack/example/c/boundary.c +296 -0
  158. data/ext/enterprise_script_service/msgpack/example/c/jsonconv.c +419 -0
  159. data/ext/enterprise_script_service/msgpack/example/c/simple_c.c +1 -1
  160. data/ext/enterprise_script_service/msgpack/example/cpp03/CMakeLists.txt +3 -3
  161. data/ext/enterprise_script_service/msgpack/example/cpp11/CMakeLists.txt +2 -2
  162. data/ext/enterprise_script_service/msgpack/example/x3/CMakeLists.txt +2 -2
  163. data/ext/enterprise_script_service/msgpack/include/msgpack/pack.h +24 -1
  164. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/array_ref.hpp +5 -4
  165. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/boost/optional.hpp +4 -4
  166. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/vector_byte.hpp +8 -8
  167. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/map.hpp +4 -4
  168. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector.hpp +4 -4
  169. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_char.hpp +8 -8
  170. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +8 -8
  171. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/wstring.hpp +4 -4
  172. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/unpack.hpp +6 -6
  173. data/ext/enterprise_script_service/msgpack/include/msgpack/version_master.h +2 -2
  174. data/ext/enterprise_script_service/msgpack/include/msgpack/zbuffer.h +4 -4
  175. data/ext/enterprise_script_service/msgpack/make_file_list.sh +38 -11
  176. data/ext/enterprise_script_service/msgpack/src/vrefbuffer.c +6 -0
  177. data/ext/enterprise_script_service/msgpack/test/CMakeLists.txt +86 -64
  178. data/ext/enterprise_script_service/msgpack/test/array_ref.cpp +4 -0
  179. data/ext/enterprise_script_service/msgpack/test/boost_fusion.cpp +4 -0
  180. data/ext/enterprise_script_service/msgpack/test/boost_optional.cpp +4 -0
  181. data/ext/enterprise_script_service/msgpack/test/boost_string_ref.cpp +4 -1
  182. data/ext/enterprise_script_service/msgpack/test/boost_string_view.cpp +4 -0
  183. data/ext/enterprise_script_service/msgpack/test/boost_variant.cpp +4 -0
  184. data/ext/enterprise_script_service/msgpack/test/buffer.cpp +4 -47
  185. data/ext/enterprise_script_service/msgpack/test/buffer_c.cpp +148 -0
  186. data/ext/enterprise_script_service/msgpack/test/carray.cpp +4 -0
  187. data/ext/enterprise_script_service/msgpack/test/cases.cpp +8 -4
  188. data/ext/enterprise_script_service/msgpack/test/convert.cpp +8 -4
  189. data/ext/enterprise_script_service/msgpack/test/fixint.cpp +4 -0
  190. data/ext/enterprise_script_service/msgpack/test/fixint_c.cpp +4 -0
  191. data/ext/enterprise_script_service/msgpack/test/fuzz_unpack_pack_fuzzer_cpp11.cpp +4 -0
  192. data/ext/enterprise_script_service/msgpack/test/iterator_cpp11.cpp +4 -0
  193. data/ext/enterprise_script_service/msgpack/test/json.cpp +4 -0
  194. data/ext/enterprise_script_service/msgpack/test/limit.cpp +8 -4
  195. data/ext/enterprise_script_service/msgpack/test/msgpack_basic.cpp +4 -0
  196. data/ext/enterprise_script_service/msgpack/test/msgpack_c.cpp +159 -0
  197. data/ext/enterprise_script_service/msgpack/test/msgpack_container.cpp +4 -0
  198. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp11.cpp +32 -27
  199. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp17.cpp +4 -0
  200. data/ext/enterprise_script_service/msgpack/test/msgpack_stream.cpp +4 -0
  201. data/ext/enterprise_script_service/msgpack/test/msgpack_tuple.cpp +4 -1
  202. data/ext/enterprise_script_service/msgpack/test/msgpack_vref.cpp +4 -0
  203. data/ext/enterprise_script_service/msgpack/test/msgpack_x3_parse.cpp +4 -0
  204. data/ext/enterprise_script_service/msgpack/test/object.cpp +4 -1
  205. data/ext/enterprise_script_service/msgpack/test/object_with_zone.cpp +12 -8
  206. data/ext/enterprise_script_service/msgpack/test/pack_unpack.cpp +30 -26
  207. data/ext/enterprise_script_service/msgpack/test/pack_unpack_c.cpp +4 -0
  208. data/ext/enterprise_script_service/msgpack/test/raw.cpp +4 -0
  209. data/ext/enterprise_script_service/msgpack/test/reference.cpp +4 -0
  210. data/ext/enterprise_script_service/msgpack/test/reference_cpp11.cpp +4 -0
  211. data/ext/enterprise_script_service/msgpack/test/reference_wrapper_cpp11.cpp +4 -0
  212. data/ext/enterprise_script_service/msgpack/test/shared_ptr_cpp11.cpp +4 -0
  213. data/ext/enterprise_script_service/msgpack/test/size_equal_only.cpp +4 -0
  214. data/ext/enterprise_script_service/msgpack/test/streaming.cpp +8 -4
  215. data/ext/enterprise_script_service/msgpack/test/streaming_c.cpp +4 -0
  216. data/ext/enterprise_script_service/msgpack/test/unique_ptr_cpp11.cpp +4 -0
  217. data/ext/enterprise_script_service/msgpack/test/user_class.cpp +16 -12
  218. data/ext/enterprise_script_service/msgpack/test/version.cpp +4 -0
  219. data/ext/enterprise_script_service/msgpack/test/visitor.cpp +4 -0
  220. data/ext/enterprise_script_service/msgpack/test/zone.cpp +4 -0
  221. data/lib/script_core/version.rb +1 -1
  222. data/script_core.gemspec +1 -1
  223. metadata +23 -9
  224. data/ext/enterprise_script_service/msgpack/.travis.yml +0 -258
@@ -1,11 +1,15 @@
1
1
  #include <msgpack.h>
2
2
 
3
+ #if defined(__GNUC__)
3
4
  #pragma GCC diagnostic push
4
5
  #pragma GCC diagnostic ignored "-Wconversion"
6
+ #endif //defined(__GNUC__)
5
7
 
6
8
  #include <gtest/gtest.h>
7
9
 
10
+ #if defined(__GNUC__)
8
11
  #pragma GCC diagnostic pop
12
+ #endif //defined(__GNUC__)
9
13
 
10
14
  #include <stdio.h>
11
15
 
@@ -2,12 +2,16 @@
2
2
  #include <sstream>
3
3
  #include <iterator>
4
4
 
5
+ #if defined(__GNUC__)
5
6
  #pragma GCC diagnostic push
6
7
  #pragma GCC diagnostic ignored "-Wconversion"
8
+ #endif //defined(__GNUC__)
7
9
 
8
10
  #include <gtest/gtest.h>
9
11
 
12
+ #if defined(__GNUC__)
10
13
  #pragma GCC diagnostic pop
14
+ #endif //defined(__GNUC__)
11
15
 
12
16
  #ifdef HAVE_CONFIG_H
13
17
  #include "config.h"
@@ -2,12 +2,16 @@
2
2
  #include <string>
3
3
  #include <cmath>
4
4
 
5
+ #if defined(__GNUC__)
5
6
  #pragma GCC diagnostic push
6
7
  #pragma GCC diagnostic ignored "-Wconversion"
8
+ #endif //defined(__GNUC__)
7
9
 
8
10
  #include <gtest/gtest.h>
9
11
 
12
+ #if defined(__GNUC__)
10
13
  #pragma GCC diagnostic pop
14
+ #endif //defined(__GNUC__)
11
15
 
12
16
  #ifdef HAVE_CONFIG_H
13
17
  #include "config.h"
@@ -153,10 +157,10 @@ public:
153
157
 
154
158
  void msgpack_unpack(msgpack::object o)
155
159
  {
156
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
160
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
157
161
  #pragma GCC diagnostic push
158
162
  #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
159
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
163
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
160
164
  msgpack::type::tuple<bool, msgpack::object> tuple(false, msgpack::object());
161
165
  o.convert(tuple);
162
166
 
@@ -165,18 +169,18 @@ public:
165
169
  tuple.get<1>().convert(value.f);
166
170
  else
167
171
  tuple.get<1>().convert(value.i);
168
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
172
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
169
173
  #pragma GCC diagnostic pop
170
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
174
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
171
175
  }
172
176
  };
173
177
 
174
178
  TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member)
175
179
  {
176
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
180
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
177
181
  #pragma GCC diagnostic push
178
182
  #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
179
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
183
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
180
184
  {
181
185
  // double
182
186
  TestUnionMemberClass val1(1.0);
@@ -200,9 +204,9 @@ TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member)
200
204
  EXPECT_EQ(val1.value.i, 1);
201
205
  EXPECT_EQ(val1.value.i, val2.value.i);
202
206
  }
203
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
207
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
204
208
  #pragma GCC diagnostic pop
205
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
209
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
206
210
  }
207
211
 
208
212
  // inheritance
@@ -401,14 +405,14 @@ TEST(MSGPACK_INHERIT, define_map_non_virtual)
401
405
  msgpack::pack(sbuf, b);
402
406
  msgpack::object_handle oh =
403
407
  msgpack::unpack(sbuf.data(), sbuf.size());
404
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
408
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
405
409
  #pragma GCC diagnostic push
406
410
  #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
407
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
411
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
408
412
  dm_bottom br = oh.get().as<dm_bottom>();
409
- #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
413
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
410
414
  #pragma GCC diagnostic pop
411
- #endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
415
+ #endif // defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__clang__)
412
416
  EXPECT_EQ(b.b, br.b);
413
417
  EXPECT_EQ(b.m1, br.m1);
414
418
  EXPECT_EQ(b.m2, br.m2);
@@ -1,11 +1,15 @@
1
1
  #include <msgpack.hpp>
2
2
 
3
+ #if defined(__GNUC__)
3
4
  #pragma GCC diagnostic push
4
5
  #pragma GCC diagnostic ignored "-Wconversion"
6
+ #endif //defined(__GNUC__)
5
7
 
6
8
  #include <gtest/gtest.h>
7
9
 
10
+ #if defined(__GNUC__)
8
11
  #pragma GCC diagnostic pop
12
+ #endif //defined(__GNUC__)
9
13
 
10
14
  TEST(version, print)
11
15
  {
@@ -1,11 +1,15 @@
1
1
  #include <msgpack.hpp>
2
2
 
3
+ #if defined(__GNUC__)
3
4
  #pragma GCC diagnostic push
4
5
  #pragma GCC diagnostic ignored "-Wconversion"
6
+ #endif //defined(__GNUC__)
5
7
 
6
8
  #include <gtest/gtest.h>
7
9
 
10
+ #if defined(__GNUC__)
8
11
  #pragma GCC diagnostic pop
12
+ #endif //defined(__GNUC__)
9
13
 
10
14
  #include <sstream>
11
15
 
@@ -1,11 +1,15 @@
1
1
  #include <msgpack.hpp>
2
2
 
3
+ #if defined(__GNUC__)
3
4
  #pragma GCC diagnostic push
4
5
  #pragma GCC diagnostic ignored "-Wconversion"
6
+ #endif //defined(__GNUC__)
5
7
 
6
8
  #include <gtest/gtest.h>
7
9
 
10
+ #if defined(__GNUC__)
8
11
  #pragma GCC diagnostic pop
12
+ #endif //defined(__GNUC__)
9
13
 
10
14
  TEST(zone, allocate_align)
11
15
  {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScriptCore
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
@@ -40,6 +40,6 @@
40
40
  spec.add_dependency("msgpack", "~> 1.0")
41
41
  spec.add_dependency("rake-compiler", "~> 1.0")
42
42
 
43
- spec.add_development_dependency("rake", "~> 12")
43
+ spec.add_development_dependency("rake", "~> 13")
44
44
  spec.add_development_dependency("rspec", "~> 3.5")
45
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: script_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - jasl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-06 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12'
47
+ version: '13'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12'
54
+ version: '13'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.5'
69
- description:
69
+ description:
70
70
  email: jasl9187@hotmail.com
71
71
  executables: []
72
72
  extensions:
@@ -370,6 +370,9 @@ files:
370
370
  - ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.c
371
371
  - ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.py
372
372
  - ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.tests
373
+ - ext/enterprise_script_service/libseccomp/tests/52-basic-load.c
374
+ - ext/enterprise_script_service/libseccomp/tests/52-basic-load.py
375
+ - ext/enterprise_script_service/libseccomp/tests/52-basic-load.tests
373
376
  - ext/enterprise_script_service/libseccomp/tests/Makefile.am
374
377
  - ext/enterprise_script_service/libseccomp/tests/miniseq.c
375
378
  - ext/enterprise_script_service/libseccomp/tests/regression
@@ -599,6 +602,8 @@ files:
599
602
  - ext/enterprise_script_service/mruby-mpdecimal/tests/testdata/tointegralx.decTest
600
603
  - ext/enterprise_script_service/mruby-mpdecimal/tests/testdata/trim.decTest
601
604
  - ext/enterprise_script_service/mruby-mpdecimal/tests/testdata/xor.decTest
605
+ - ext/enterprise_script_service/mruby/.github/workflows/build.yml
606
+ - ext/enterprise_script_service/mruby/.github/workflows/main.yml
602
607
  - ext/enterprise_script_service/mruby/.gitignore
603
608
  - ext/enterprise_script_service/mruby/.gitlab-ci.yml
604
609
  - ext/enterprise_script_service/mruby/.travis.yml
@@ -653,6 +658,7 @@ files:
653
658
  - ext/enterprise_script_service/mruby/examples/targets/build_config_android_armeabi.rb
654
659
  - ext/enterprise_script_service/mruby/examples/targets/build_config_android_armeabi_v7a_neon_hard.rb
655
660
  - ext/enterprise_script_service/mruby/examples/targets/build_config_chipKITMax32.rb
661
+ - ext/enterprise_script_service/mruby/examples/targets/build_config_dreamcast_shelf.rb
656
662
  - ext/enterprise_script_service/mruby/include/mrbconf.h
657
663
  - ext/enterprise_script_service/mruby/include/mruby.h
658
664
  - ext/enterprise_script_service/mruby/include/mruby/array.h
@@ -740,6 +746,7 @@ files:
740
746
  - ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/lex.def
741
747
  - ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/node.h
742
748
  - ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/parse.y
749
+ - ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/y.tab.c
743
750
  - ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/mrbgem.rake
744
751
  - ext/enterprise_script_service/mruby/mrbgems/mruby-complex/mrbgem.rake
745
752
  - ext/enterprise_script_service/mruby/mrbgems/mruby-complex/mrblib/complex.rb
@@ -1007,9 +1014,11 @@ files:
1007
1014
  - ext/enterprise_script_service/mruby_engine.cpp
1008
1015
  - ext/enterprise_script_service/mruby_engine.gembox
1009
1016
  - ext/enterprise_script_service/mruby_engine.hpp
1017
+ - ext/enterprise_script_service/msgpack/.github/depends/boost.sh
1018
+ - ext/enterprise_script_service/msgpack/.github/workflows/coverage.yml
1019
+ - ext/enterprise_script_service/msgpack/.github/workflows/gha.yml
1010
1020
  - ext/enterprise_script_service/msgpack/.gitignore
1011
1021
  - ext/enterprise_script_service/msgpack/.gitmodules
1012
- - ext/enterprise_script_service/msgpack/.travis.yml
1013
1022
  - ext/enterprise_script_service/msgpack/CHANGELOG.md
1014
1023
  - ext/enterprise_script_service/msgpack/CMakeLists.txt
1015
1024
  - ext/enterprise_script_service/msgpack/COPYING
@@ -1024,6 +1033,8 @@ files:
1024
1033
  - ext/enterprise_script_service/msgpack/ci/build_cmake.sh
1025
1034
  - ext/enterprise_script_service/msgpack/ci/build_cmake_embedded.sh
1026
1035
  - ext/enterprise_script_service/msgpack/ci/build_regression.sh
1036
+ - ext/enterprise_script_service/msgpack/cmake/CodeCoverage.cmake
1037
+ - ext/enterprise_script_service/msgpack/codecov.yml
1027
1038
  - ext/enterprise_script_service/msgpack/erb/v1/cpp03_define_array.hpp.erb
1028
1039
  - ext/enterprise_script_service/msgpack/erb/v1/cpp03_define_array_decl.hpp.erb
1029
1040
  - ext/enterprise_script_service/msgpack/erb/v1/cpp03_define_map.hpp.erb
@@ -1039,6 +1050,8 @@ files:
1039
1050
  - ext/enterprise_script_service/msgpack/example/boost/msgpack_variant_capitalize.cpp
1040
1051
  - ext/enterprise_script_service/msgpack/example/boost/msgpack_variant_mapbased.cpp
1041
1052
  - ext/enterprise_script_service/msgpack/example/c/CMakeLists.txt
1053
+ - ext/enterprise_script_service/msgpack/example/c/boundary.c
1054
+ - ext/enterprise_script_service/msgpack/example/c/jsonconv.c
1042
1055
  - ext/enterprise_script_service/msgpack/example/c/lib_buffer_unpack.c
1043
1056
  - ext/enterprise_script_service/msgpack/example/c/simple_c.c
1044
1057
  - ext/enterprise_script_service/msgpack/example/c/speed_test_uint32_array.c
@@ -1836,6 +1849,7 @@ files:
1836
1849
  - ext/enterprise_script_service/msgpack/test/boost_string_view.cpp
1837
1850
  - ext/enterprise_script_service/msgpack/test/boost_variant.cpp
1838
1851
  - ext/enterprise_script_service/msgpack/test/buffer.cpp
1852
+ - ext/enterprise_script_service/msgpack/test/buffer_c.cpp
1839
1853
  - ext/enterprise_script_service/msgpack/test/carray.cpp
1840
1854
  - ext/enterprise_script_service/msgpack/test/cases.cpp
1841
1855
  - ext/enterprise_script_service/msgpack/test/cases.mpac
@@ -2906,7 +2920,7 @@ homepage: https://github.com/rails-engine/script_core
2906
2920
  licenses:
2907
2921
  - MIT
2908
2922
  metadata: {}
2909
- post_install_message:
2923
+ post_install_message:
2910
2924
  rdoc_options: []
2911
2925
  require_paths:
2912
2926
  - lib
@@ -2922,7 +2936,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2922
2936
  version: '0'
2923
2937
  requirements: []
2924
2938
  rubygems_version: 3.1.4
2925
- signing_key:
2939
+ signing_key:
2926
2940
  specification_version: 4
2927
2941
  summary: A script engine powered by mruby sandboxie, It's a fork of Shopify's ESS.
2928
2942
  test_files: []
@@ -1,258 +0,0 @@
1
- language: cpp
2
- sudo: false
3
- dist: trusty
4
-
5
- install:
6
- - export BASE=`pwd`
7
- - mkdir ${BASE}/usr
8
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget --no-check-certificate https://cmake.org/files/v3.7/cmake-3.7.1-Linux-x86_64.sh -O cmake-3.7.1-Linux-x86_64.sh; fi
9
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then chmod a+x cmake-3.7.1-Linux-x86_64.sh; fi
10
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./cmake-3.7.1-Linux-x86_64.sh --prefix=${BASE}/usr --skip-license; fi
11
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then export PATH="${BASE}/usr/bin:$PATH"; fi
12
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then export LD_LIBRARY_PATH="${BASE}/usr/lib:$LD_LIBRARY_PATH"; fi
13
- - if [ "$CXX" == "g++" ]; then export CXX="g++-7" CC="gcc-7"; fi
14
- - if [ "$CXX" == "clang++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX="clang++-5.0" CC="clang-5.0"; fi
15
- - if [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then cd /usr/include/c++/$(g++ -v 2>&1 | grep version | awk '{print $3}')/bits; ln -s ../ext/atomicity.h .; cd ${BASE}/usr; fi
16
- #gtest
17
- - wget https://github.com/google/googletest/archive/release-1.7.0.zip -O googletest-release-1.7.0.zip
18
- - unzip -q googletest-release-1.7.0.zip
19
- - cd googletest-release-1.7.0
20
- - $CXX -m${ARCH} src/gtest-all.cc -I. -Iinclude -c
21
- - $CXX -m${ARCH} src/gtest_main.cc -I. -Iinclude -c
22
- - ar -rv libgtest.a gtest-all.o
23
- - ar -rv libgtest_main.a gtest_main.o
24
- - mkdir -p ${BASE}/usr/include
25
- - cp -r include/gtest ${BASE}/usr/include
26
- - mkdir -p ${BASE}/usr/lib
27
- - mv *.a ${BASE}/usr/lib
28
- - cd ..
29
- # valgrind
30
- - if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$MSGPACK_FUZZ_REGRESSION" != "ON" ]; then wget http://valgrind.org/downloads/valgrind-3.12.0.tar.bz2 && tar xjf valgrind-3.12.0.tar.bz2 && cd valgrind-3.12.0 && ./configure --prefix=${BASE}/usr > /dev/null && make -j3 > /dev/null && make install > /dev/null && cd ..; fi
31
- # boost
32
- - if [ "$BOOST" == "ON" ] && [ "MSGPACK_FUZZ_REGRESSION" != "ON" ]; then wget http://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.zip && unzip -q boost_1_67_0.zip && cd boost_1_67_0 && ./bootstrap.sh && ./b2 -j3 --prefix=${BASE}/usr --with-chrono --with-context --with-system --with-timer address-model=${ARCH} install > /dev/null && cd ..; fi
33
- - if [ "$MSGPACK_FUZZ_REGRESSION" == "ON" ]; then wget http://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.zip && unzip -q boost_1_67_0.zip && cd boost_1_67_0 && ./bootstrap.sh --with-toolset=clang && ./b2 clean && ./b2 -j$(nproc) --prefix=${BASE}/usr --with-system --with-filesystem address-model=${ARCH} install > /dev/null && cd ..; fi
34
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include; fi
35
-
36
- matrix:
37
- include:
38
- - os: osx
39
- compiler: clang
40
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="64" BOOST="ON" SHARED="ON" CHAR_SIGN="unsigned" API_VERSION="1"
41
- - os: osx
42
- compiler: clang
43
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="64" BOOST="ON" SHARED="ON" CHAR_SIGN="signed" API_VERSION="3"
44
- - os: osx
45
- compiler: clang
46
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="64" SHARED="ON" CHAR_SIGN="signed" API_VERSION="2"
47
- - os: osx
48
- compiler: clang
49
- env: ACTION="ci/build_cmake.sh" ARCH="64" SHARED="ON" CHAR_SIGN="unsigned" API_VERSION="2"
50
- - os: linux
51
- compiler: clang
52
- env: ACTION="ci/build_cmake.sh" ARCH="64" BOOST="ON" SHARED="ON" CHAR_SIGN="unsigned" API_VERSION="1"
53
- addons:
54
- apt:
55
- sources:
56
- - ubuntu-toolchain-r-test
57
- - llvm-toolchain-trusty-5.0
58
- packages:
59
- - g++-multilib
60
- - gcc-multilib
61
- - gcc-7-multilib
62
- - g++-7-multilib
63
- - bzip2
64
- - clang-5.0
65
- - libc6-dbg
66
- - os: linux
67
- compiler: clang
68
- env: ACTION="ci/build_cmake.sh" ARCH="32" SHARED="ON" CHAR_SIGN="signed" API_VERSION="2"
69
- addons:
70
- apt:
71
- sources:
72
- - ubuntu-toolchain-r-test
73
- - llvm-toolchain-trusty-5.0
74
- packages:
75
- - g++-multilib
76
- - gcc-multilib
77
- - gcc-7-multilib
78
- - g++-7-multilib
79
- - lib32stdc++6-6-dbg
80
- - lib32gcc1
81
- - libc6-i386
82
- - lib32z1-dev
83
- - zlib1g-dev
84
- - bzip2
85
- - clang-5.0
86
- - libc6-dbg
87
- - os: linux
88
- compiler: clang
89
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="64" BOOST="ON" SHARED="ON" CHAR_SIGN="signed" API_VERSION="3" X3_PARSE="ON"
90
- addons:
91
- apt:
92
- sources:
93
- - ubuntu-toolchain-r-test
94
- - llvm-toolchain-trusty-5.0
95
- packages:
96
- - g++-multilib
97
- - gcc-multilib
98
- - gcc-7-multilib
99
- - g++-7-multilib
100
- - bzip2
101
- - clang-5.0
102
- - libc6-dbg
103
- - os: linux
104
- compiler: clang
105
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="32" SHARED="OFF" CHAR_SIGN="unsigned" API_VERSION="2"
106
- addons:
107
- apt:
108
- sources:
109
- - ubuntu-toolchain-r-test
110
- - llvm-toolchain-trusty-5.0
111
- packages:
112
- - g++-multilib
113
- - gcc-multilib
114
- - gcc-7-multilib
115
- - g++-7-multilib
116
- - lib32stdc++6-6-dbg
117
- - lib32gcc1
118
- - libc6-i386
119
- - lib32z1-dev
120
- - zlib1g-dev
121
- - bzip2
122
- - clang-5.0
123
- - libc6-dbg
124
- - os: linux
125
- compiler: gcc
126
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="64" SHARED="ON" CHAR_SIGN="signed" API_VERSION="2"
127
- addons:
128
- apt:
129
- sources:
130
- - ubuntu-toolchain-r-test
131
- packages:
132
- - g++-multilib
133
- - gcc-multilib
134
- - gcc-7-multilib
135
- - g++-7-multilib
136
- - bzip2
137
- - libc6-dbg
138
- - os: linux
139
- compiler: gcc
140
- env: ACTION="ci/build_cmake.sh" CXX17="ON" ARCH="32" BOOST="ON" SHARED="ON" CHAR_SIGN="unsigned" API_VERSION="3" X3_PARSE="ON"
141
- addons:
142
- apt:
143
- sources:
144
- - ubuntu-toolchain-r-test
145
- packages:
146
- - g++-multilib
147
- - gcc-multilib
148
- - gcc-7-multilib
149
- - g++-7-multilib
150
- - lib32stdc++6-6-dbg
151
- - lib32gcc1
152
- - libc6-i386
153
- - lib32z1-dev
154
- - zlib1g-dev
155
- - bzip2
156
- - libc6-dbg
157
- - os: linux
158
- compiler: gcc
159
- env: ACTION="ci/build_cmake.sh" ARCH="64" SHARED="ON" CHAR_SIGN="unsigned" API_VERSION="2"
160
- addons:
161
- apt:
162
- sources:
163
- - ubuntu-toolchain-r-test
164
- packages:
165
- - g++-multilib
166
- - gcc-multilib
167
- - gcc-7-multilib
168
- - g++-7-multilib
169
- - bzip2
170
- - libc6-dbg
171
- - os: linux
172
- compiler: gcc
173
- env: ACTION="ci/build_cmake.sh" ARCH="32" BOOST="ON" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="1"
174
- addons:
175
- apt:
176
- sources:
177
- - ubuntu-toolchain-r-test
178
- packages:
179
- - g++-multilib
180
- - gcc-multilib
181
- - gcc-7-multilib
182
- - g++-7-multilib
183
- - lib32stdc++6-6-dbg
184
- - lib32gcc1
185
- - libc6-i386
186
- - lib32z1-dev
187
- - zlib1g-dev
188
- - bzip2
189
- - libc6-dbg
190
- - os: linux
191
- compiler: gcc
192
- env: ACTION="ci/build_cmake.sh" ARCH="32" BOOST="ON" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="2"
193
- addons:
194
- apt:
195
- sources:
196
- - ubuntu-toolchain-r-test
197
- packages:
198
- - g++-multilib
199
- - gcc-multilib
200
- - gcc-7-multilib
201
- - g++-7-multilib
202
- - lib32stdc++6-6-dbg
203
- - lib32gcc1
204
- - libc6-i386
205
- - lib32z1-dev
206
- - zlib1g-dev
207
- - bzip2
208
- - libc6-dbg
209
- - os: linux
210
- compiler: clang
211
- env: ACTION="ci/build_regression.sh" ARCH="64" SAN="UBSAN" MSGPACK_FUZZ_REGRESSION="ON"
212
- addons:
213
- apt:
214
- sources:
215
- - ubuntu-toolchain-r-test
216
- - llvm-toolchain-trusty-5.0
217
- packages:
218
- - bzip2
219
- - clang-5.0
220
- script:
221
- - CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" CMAKE_LIBRARY_PATH="${BASE}" GTEST_ROOT="${BASE}/gtest" BOOST_ROOT="${BASE}/boost" CTEST_OUTPUT_ON_FAILURE=1 MSGPACK_SAN="${SAN}" ci/build_regression.sh
222
- - os: linux
223
- compiler: clang
224
- env: ACTION="ci/build_regression.sh" ARCH="64" SAN="ASAN" MSGPACK_FUZZ_REGRESSION="ON"
225
- addons:
226
- apt:
227
- sources:
228
- - ubuntu-toolchain-r-test
229
- - llvm-toolchain-trusty-5.0
230
- packages:
231
- - bzip2
232
- - clang-5.0
233
- script:
234
- - CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" CMAKE_LIBRARY_PATH="${BASE}" GTEST_ROOT="${BASE}/gtest" BOOST_ROOT="${BASE}/boost" CTEST_OUTPUT_ON_FAILURE=1 MSGPACK_SAN="${SAN}" ci/build_regression.sh
235
- - os: linux
236
- compiler: gcc
237
- env: ACTION="ci/build_cmake_embedded.sh" ARCH="64"
238
- addons:
239
- apt:
240
- sources:
241
- - ubuntu-toolchain-r-test
242
- packages:
243
- - g++-multilib
244
- - gcc-multilib
245
- - gcc-7-multilib
246
- - g++-7-multilib
247
- - lib32stdc++6-6-dbg
248
- - lib32gcc1
249
- - libc6-i386
250
- - lib32z1-dev
251
- - zlib1g-dev
252
- - bzip2
253
- - libc6-dbg
254
-
255
-
256
- script:
257
- - CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" CMAKE_LIBRARY_PATH="${BASE}/usr/lib:${BASE}/build" GTEST_ROOT="${BASE}/usr" BOOST_ROOT="${BASE}/usr" CFLAGS="-Werror -g" CXXFLAGS="-Werror -g" ${ACTION}
258
- - cat Files.cmake| grep ".*\.[h|hpp]" | perl -pe 's/ //g' | sort > tmp1 && find include -name "*.h" -o -name "*.hpp" | sort > tmp2 && diff tmp1 tmp2