mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Merge branch 'develop' into vault
This commit is contained in:
2
.github/workflows/clang-format.yml
vendored
2
.github/workflows/clang-format.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install clang-format-${CLANG_VERSION}
|
sudo apt-get install clang-format-${CLANG_VERSION}
|
||||||
- name: Format first-party sources
|
- name: Format first-party sources
|
||||||
run: find include src -type f \( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -o -name '*.ipp' \) -exec clang-format-${CLANG_VERSION} -i {} +
|
run: find include src tests -type f \( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -o -name '*.ipp' \) -exec clang-format-${CLANG_VERSION} -i {} +
|
||||||
- name: Check for differences
|
- name: Check for differences
|
||||||
id: assert
|
id: assert
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/nix.yml
vendored
2
.github/workflows/nix.yml
vendored
@@ -288,7 +288,7 @@ jobs:
|
|||||||
echo "reference=${reference}" >> "${GITHUB_ENV}"
|
echo "reference=${reference}" >> "${GITHUB_ENV}"
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
cd examples/example
|
cd tests/conan
|
||||||
mkdir ${build_dir}
|
mkdir ${build_dir}
|
||||||
cd ${build_dir}
|
cd ${build_dir}
|
||||||
conan install .. --output-folder . \
|
conan install .. --output-folder . \
|
||||||
|
|||||||
4
tests/README.md
Normal file
4
tests/README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Integration tests
|
||||||
|
This directory contains integration tests for the project. These tests are run
|
||||||
|
against the `libxrpl` library or `rippled` binary to verify they are working as
|
||||||
|
expected.
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
int main(int argc, char const** argv) {
|
int
|
||||||
|
main(int argc, char const** argv)
|
||||||
|
{
|
||||||
std::printf("%s\n", ripple::BuildInfo::getVersionString().c_str());
|
std::printf("%s\n", ripple::BuildInfo::getVersionString().c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user