sogou/srpc

New versions of GTest use C++14

Closed this issue · 8 comments

Might it be possible to add a change similar to:
https://github.com/sogou/workflow/pull/1188/files
to enable using newer versions of GTest, current build fails:
https://download.copr.fedorainfracloud.org/results/fed500/srpc/fedora-rawhide-x86_64/05796491-srpc/builder-live.log.gz
Can do this if ok.

Yes, I will add similar changes to fix this failing build.
Thanks.

@bkmgit It would be very appreciated if you could check that this commit works.

repo and branch: https://github.com/holmes1412/srpc/tree/cmake-3.26

谢谢 Based on holmes1412#33 it seems to run. When testing get

[----------] 1 test from ThriftHttp
[ RUN      ] ThriftHttp.unittest
/workflow/test/unittest.cc:165: Failure
Expected equality of these values:
  ctx->success()
    Which is: false
  true
[  FAILED  ] ThriftHttp.unittest (0 ms)
[----------] 1 test from ThriftHttp (0 ms total)

Other tests pass. This test passes locally for me though.

I can't figure out why it fails here. Could you post the failing link or some more informations?

https://github.com/bkmgit/srpc/actions/runs/4728630404/jobs/8390349320

Will continue debugging though if not immediately clear. Maybe setup, tests are not running on Ubuntu CI.

Thanks! I will try the ci actions like you do in the test branch and fix this failing UnitTest tomorrow.

Test seems to pass now on both Ubuntu and Fedora, maybe was an issue with GitHub:
https://github.com/bkmgit/srpc/actions/runs/4739468284/jobs/8414324683
Can update and rebase holmes1412#33 if helpful

Already merged~ Glad the test passed and thank you so much for the effort in checking the builds on Ubuntu and Fedora. It's helpful of course.
We'll deal with the PR #304 and make a released version.