Commit Graph

6119 Commits

Author SHA1 Message Date
Adam Cozzette
656f64ec0b
Merge pull request #4943 from Stevie-O/fix-unit-tests-on-win32
When running unit tests, read reference files in text mode
2018-07-20 10:47:01 -07:00
Stephen Oberholtzer
f5f1796c5d When running unit tests, read reference files in text mode
This should put an end to all of the reports of unit test failures on
Windows machines.
2018-07-19 21:39:10 -04:00
Feng Xiao
b1c5503022
Delete unused files. (#4942)
* Delete unused files.
2018-07-19 17:30:15 -07:00
Yilun Chong
88795f64e4
Merge pull request #4934 from BSBandme/sync_internal_benchmark
Sync internal benchmark changes
2018-07-18 14:44:16 -07:00
Yilun Chong
3783a4ca17 Sync internal benchmark changes 2018-07-18 13:45:32 -07:00
Jan Tattermusch
f50be7de91 Fix C# nuget build on Kokoro (#4912)
* upgrade dotnet SDK to 2.1.3 on kokoro linux
2018-07-18 11:04:59 -07:00
Feng Xiao
d85ffdce41
Merge pull request #4924 from xfxyjwf/3.6.x
Cherry-pick master build fixes and kokoro changes to 3.6.x
2018-07-17 18:50:04 -07:00
Paul Yang
8356d270a5 Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)
* Add continuous test for ruby 2.3, 2.4 and 2.5

* Change ruby 2.5 to 2.5.0

* No need to provide argument to rb_funcall when argc is 0

* Fix tests for ruby 2.5

* Use rescue instead of assert_raise to accept subclass of error
2018-07-17 17:34:25 -07:00
BSBandme
7fdebf2c2e Fix cpp_distcheck 2018-07-17 17:22:10 -07:00
Feng Xiao
6c82411198 Fix php conformance test. 2018-07-17 17:19:02 -07:00
Eric Anderson
11e2eca43e protoc-artifacts: Update centos base from 6.6 to 6.9
This avoids the need to use "yum update && yum upgrade" in the container
to be able to contact GitHub, which requires TLS 1.2[1].

I have verified that binaries built with this container still run in the
previous container; no errors like "/lib64/libc.so.6: version
`GLIBC_2.14' not found", which occur if using too new of a glibc when
compiling. CentOS 6.6 has glibc version 2.12 release 1.209.el6. CentOS
6.9 has glibc version 2.12 release 1.149.el6. Both would upgrade to
release 1.212.el6 via "yum update && yum upgrade".

1. https://githubengineering.com/crypto-deprecation-notice/
2018-07-17 16:52:49 -07:00
Adam Cozzette
6fc2bac3f3 Updated Docker setup to use GCC 4.8
Now that we depend on C++11, we need at least GCC 4.8 instead of 4.7.
This change updates the Docker setup to continue using CentOS 6.6 but
with GCC 4.8.

I also added libm to the whitelist for dynamically linked libraries for
the ARM64 protoc binary.
2018-07-17 16:52:43 -07:00
Feng Xiao
b3e4e3abe0 Remove js_embed binary. (#4709)
* Remove js_embed binary.
2018-07-16 17:40:11 -07:00
BSBandme
0b3b4708a9 Fix cpp benchmark dependency on mac 2018-07-16 17:17:56 -07:00
Yilun Chong
d2980062c8
Merge pull request #4850 from BSBandme/php_benchmark
add php benchmark
2018-07-16 14:40:57 -07:00
Yilun Chong
7f57d13c22 add php benchmark 2018-07-16 13:53:22 -07:00
Feng Xiao
ae8def639e Comment out unused command from release script. 2018-07-15 21:03:55 -07:00
Feng Xiao
9327dc7258 Run autogen.sh in release script. 2018-07-15 21:03:55 -07:00
Feng Xiao
9209a41f82 Add protoc release script for Linux build. 2018-07-15 21:03:55 -07:00
Feng Xiao
4d0fbd1737 Add cpp tests under release docker image.
1. Added C++ tests under the release docker image.
2. Cleaned up tests.sh and removed traivis stuff.
2018-07-15 21:03:55 -07:00
Feng Xiao
474fd3160f Update protoc build scripts.
1. Changed maven script to only do artifact uploading and removed build
script invocation from it. We didn't use maven to invoke the build
script before (we built protoc manually and editted pom.xml to only do
uploading for previous releases), and will not use it in the future (we
will use kokoro to build artifacts).
2. Cleaned up build-protoc.sh and README.md: removed the part about
using maven to build and listed supported platforms explicitly.
2018-07-15 21:03:55 -07:00
Bo Yang
b23429ea32 Fix 32bit php tests 2018-07-15 21:01:48 -07:00
Bo Yang
8758cc1606 Fix php tests 2018-07-15 21:01:48 -07:00
Yilun Chong
bd1224e7b6 fix golang kokoro linux build 2018-07-15 21:01:48 -07:00
Yilun Chong
359889bafd fix python cpp kokoro build 2018-07-15 21:01:48 -07:00
Yilun Chong
c1e6c4df73 fix linux kokoro build in docker 2018-07-15 21:01:48 -07:00
Feng Xiao
c7442b27cf Comment out unused command from release script. 2018-07-15 20:31:54 -07:00
Feng Xiao
ba40b4b8f2
Merge pull request #4922 from xfxyjwf/release2
Run autogen.sh in release script.
2018-07-15 19:14:56 -07:00
Feng Xiao
1fc53afaa7 Run autogen.sh in release script. 2018-07-15 19:13:00 -07:00
Feng Xiao
03e05bb056
Merge pull request #4920 from xfxyjwf/release
Add protoc release script for Linux build.
2018-07-15 18:20:19 -07:00
Feng Xiao
bbbe422fab Add protoc release script for Linux build. 2018-07-15 18:18:36 -07:00
Feng Xiao
07d69d04a6
Merge pull request #4916 from xfxyjwf/docker
Add cpp tests under release docker image.
2018-07-15 18:13:34 -07:00
Feng Xiao
9de4e64cf2 Add cpp tests under release docker image.
1. Added C++ tests under the release docker image.
2. Fixed a compile issue with the docker image.
3. Cleaned up tests.sh and removed traivis stuff.
2018-07-15 16:41:25 -07:00
Feng Xiao
78944e1403
Merge pull request #4913 from xfxyjwf/protoc
Update protoc build scripts.
2018-07-13 15:43:05 -07:00
Feng Xiao
6fa17eb35e Update protoc build scripts.
1. Changed maven script to only do artifact uploading and removed build
script invocation from it. We didn't use maven to invoke the build
script before (we built protoc manually and editted pom.xml to only do
uploading for previous releases), and will not use it in the future (we
will use kokoro to build artifacts).
2. Cleaned up build-protoc.sh and README.md: removed the part about
using maven to build and listed supported platforms explicitly.
2018-07-13 12:41:37 -07:00
Feng Xiao
4a0ad7b06f
Merge pull request #4908 from TeBoring/php-bug
Fix php tests
2018-07-13 09:55:17 -07:00
Feng Xiao
1ccb8d4b39
Merge pull request #4905 from BSBandme/fix_kokoro_build_in_docker
fix linux kokoro build in docker
2018-07-13 09:54:43 -07:00
Bo Yang
d779301670 Fix 32bit php tests 2018-07-13 09:10:16 +00:00
Bo Yang
51c188c2cc Fix php tests 2018-07-13 05:47:10 +00:00
Yilun Chong
517190a7d9 fix golang kokoro linux build 2018-07-12 16:52:16 -07:00
Yilun Chong
14bc658175 fix python cpp kokoro build 2018-07-12 16:49:26 -07:00
Yilun Chong
f21d4d6830
Merge pull request #4903 from BSBandme/fix_js_build
fix commonjs js provide GOOGLE_CHECK
2018-07-12 15:45:17 -07:00
Duncan McGreggor
84752ff316 Added a link for another Clojure protobuf project (#4906) 2018-07-12 15:01:17 -07:00
Yilun Chong
a2618376f2 fix linux kokoro build in docker 2018-07-12 14:22:14 -07:00
Yilun Chong
f42ddff0dd fix commonjs js provide GOOGLE_CHECK 2018-07-12 13:47:16 -07:00
Paul Yang
22503a0172
fix for API change in PHP 7.3 (#4898) 2018-07-12 12:34:18 -07:00
Paul Yang
40f9ef2f56
Check the message to be encoded is the wrong type. (#4885) 2018-07-12 11:04:29 -07:00
Ben Webb
0a59054c30 Add Python 3.7 compatibility (#4862)
Compilation of Python wrappers fails with Python 3.7 because
the Python folks changed their C API such that
PyUnicode_AsUTF8AndSize() now returns a const char* rather
than a char*. Add a patch to work around. Relates #4086.
2018-07-12 10:58:10 -07:00
Jan Tattermusch
029dbfd714
Merge pull request #4869 from jtattermusch/csharp_artifact_build
Add scripts for automated building of C# nuget on Kokoro
2018-07-12 16:27:23 +02:00
Jan Tattermusch
f3d3bfc01e add scripts for automated building of C# nuget on Kokoro 2018-07-12 10:17:25 +02:00