rocksdb/.circleci
Peter Dillinger 4d897e51df Migrate away from Travis+Linux+amd64 (#7791)
Summary:
This disables Linux/amd64 builds in Travis for PRs, and adds a
gcc-10+c++20 build in CircleCI, which should fill out sufficient coverage
vs. what we had in Travis

Fixed a use of std::is_pod, which is deprecated in c++20

Fixed ++ on a volatile in db_repl_stress.cc, with bigger refactoring.
Although ++ on this volatile was probably ok with one thread writer and
one thread reader, the code was still overly complex. There was a
deadcode check for error
`if (replThread.no_read < dataPump.no_records)` which can be proven
never to happen based on the structure of the code. It infinite loops
instead for the case intended to be checked. I just simplified the code
for what should be the same checking power.

Also most configurations seem to be using make parallelism = 2 * vcores,
so fixing / using that.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7791

Test Plan:
CI
and `while ./db_repl_stress; do echo again; done` for a while

Reviewed By: siying

Differential Revision: D25669834

Pulled By: pdillinger

fbshipit-source-id: b2c688053d0b1d52c989903449d3cd27a04130d6
2020-12-22 00:20:57 -08:00
..
cat_ignore_eagain Major CircleCI/Linux fixes / tweaks / enhancements (#7078) 2020-07-07 11:25:46 -07:00
config.yml Migrate away from Travis+Linux+amd64 (#7791) 2020-12-22 00:20:57 -08:00
ubsan_suppression_list.txt Add ubsan_check to CircleCI runs (#7112) 2020-07-10 20:03:41 -07:00
vs2015_install.ps1 Fix failing RocksJava test compilation and add CI (#7769) 2020-12-16 16:00:02 -08:00
vs2017_install.ps1 Add VS2017 to CircleCI Runs (#7120) 2020-07-13 18:10:20 -07:00