-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into TxQ_tests_variable_reference_fee
- Loading branch information
Showing
682 changed files
with
49,500 additions
and
21,255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: | |
pull_request: | ||
push: | ||
# If the branches list is ever changed, be sure to change it on all | ||
# build/test jobs (nix, macos, windows) | ||
# build/test jobs (nix, macos, windows, instrumentation) | ||
branches: | ||
# Always build the package branches | ||
- develop | ||
|
@@ -41,13 +41,34 @@ jobs: | |
- name: install Ninja | ||
if: matrix.generator == 'Ninja' | ||
run: brew install ninja | ||
- name: install python | ||
run: | | ||
if which python > /dev/null 2>&1; then | ||
echo "Python executable exists" | ||
else | ||
brew install [email protected] | ||
ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python | ||
fi | ||
- name: install cmake | ||
run: | | ||
if which cmake > /dev/null 2>&1; then | ||
echo "cmake executable exists" | ||
else | ||
brew install cmake | ||
fi | ||
- name: install nproc | ||
run: | | ||
brew install coreutils | ||
- name: check environment | ||
run: | | ||
env | sort | ||
echo ${PATH} | tr ':' '\n' | ||
python --version | ||
conan --version | ||
cmake --version | ||
nproc --version | ||
echo -n "nproc returns: " | ||
nproc | ||
- name: configure Conan | ||
run : | | ||
conan profile new default --detect || true | ||
|
@@ -66,6 +87,9 @@ jobs: | |
with: | ||
generator: ${{ matrix.generator }} | ||
configuration: ${{ matrix.configuration }} | ||
cmake-args: ${{ matrix.cmake-args }} | ||
- name: test | ||
run: | | ||
${build_dir}/rippled --unittest | ||
n=$(nproc) | ||
echo "Using $n test jobs" | ||
${build_dir}/rippled --unittest --unittest-jobs $n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: missing-commits | ||
|
||
on: | ||
push: | ||
branches: | ||
# Only check that the branches are up to date when updating the | ||
# relevant branches. | ||
- develop | ||
- release | ||
|
||
jobs: | ||
up_to_date: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check for missing commits | ||
id: commits | ||
env: | ||
SUGGESTION: | | ||
If you are reading this, then the commits indicated above are | ||
missing from "develop" and/or "release". Do a reverse-merge | ||
as soon as possible. See CONTRIBUTING.md for instructions. | ||
run: | | ||
set -o pipefail | ||
# Branches ordered by how "canonical" they are. Every commit in | ||
# one branch should be in all the branches behind it | ||
order=( master release develop ) | ||
branches=() | ||
for branch in "${order[@]}" | ||
do | ||
# Check that the branches exist so that this job will work on | ||
# forked repos, which don't necessarily have master and | ||
# release branches. | ||
if git ls-remote --exit-code --heads origin \ | ||
refs/heads/${branch} > /dev/null | ||
then | ||
branches+=( origin/${branch} ) | ||
fi | ||
done | ||
prior=() | ||
for branch in "${branches[@]}" | ||
do | ||
if [[ ${#prior[@]} -ne 0 ]] | ||
then | ||
echo "Checking ${prior[@]} for commits missing from ${branch}" | ||
git log --oneline --no-merges "${prior[@]}" \ | ||
^$branch | tee -a "missing-commits.txt" | ||
echo | ||
fi | ||
prior+=( "${branch}" ) | ||
done | ||
if [[ $( cat missing-commits.txt | wc -l ) -ne 0 ]] | ||
then | ||
echo "${SUGGESTION}" | ||
exit 1 | ||
fi |
Oops, something went wrong.