mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use the Conan package manager (#4367)
Introduces a conanfile.py (and a Conan recipe for RocksDB) to enable building the package with Conan, choosing more recent default versions of dependencies. It removes almost all of the CMake build files related to dependencies, and the configurations for Travis CI and GitLab CI. A new set of cross-platform build instructions are written in BUILD.md. Includes example GitHub Actions workflow for each of Linux, macOS, Windows. * Test on macos-12 We use the <concepts> library which was not added to Apple Clang until version 13.1.6. The default Clang on macos-11 (the sometimes current version of macos-latest) is 13.0.0, and the default Clang on macos-12 is 14.0.0. Closes #4223.
This commit is contained in:
@@ -226,13 +226,15 @@ public:
|
||||
// SOCI requires boost::optional (not std::optional) as
|
||||
// parameters.
|
||||
boost::optional<std::int32_t> ig;
|
||||
boost::optional<std::uint32_t> uig;
|
||||
// Known bug: https://github.com/SOCI/soci/issues/926
|
||||
// boost::optional<std::uint32_t> uig;
|
||||
uint32_t uig = 0;
|
||||
boost::optional<std::int64_t> big;
|
||||
boost::optional<std::uint64_t> ubig;
|
||||
s << "SELECT I, UI, BI, UBI from STT;", soci::into(ig),
|
||||
soci::into(uig), soci::into(big), soci::into(ubig);
|
||||
BEAST_EXPECT(
|
||||
*ig == id[0] && *uig == uid[0] && *big == bid[0] &&
|
||||
*ig == id[0] && uig == uid[0] && *big == bid[0] &&
|
||||
*ubig == ubid[0]);
|
||||
}
|
||||
catch (std::exception&)
|
||||
@@ -357,18 +359,13 @@ public:
|
||||
bfs::remove(dbPath);
|
||||
}
|
||||
void
|
||||
testSQLite()
|
||||
run() override
|
||||
{
|
||||
testSQLiteFileNames();
|
||||
testSQLiteSession();
|
||||
testSQLiteSelect();
|
||||
testSQLiteDeleteWithSubselect();
|
||||
}
|
||||
void
|
||||
run() override
|
||||
{
|
||||
testSQLite();
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(SociDB, core, ripple);
|
||||
|
||||
Reference in New Issue
Block a user