-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into monero-v0.18.3.4
- Loading branch information
Showing
11 changed files
with
126 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Check if dependencies match | ||
# Sometimes we have the libraries in two (or more) places | ||
# at the same time, this check makes sure that we do use | ||
# the same version of said libraries. | ||
on: [push] | ||
|
||
jobs: | ||
wownero-seed: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- name: Patch sources | ||
run: | | ||
git config --global --add safe.directory '*' | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI mrcyjanek.net" | ||
./apply_patches.sh monero | ||
./apply_patches.sh wownero | ||
- name: obtain hashes | ||
run: | | ||
set -x | ||
pushd external/wownero-seed | ||
echo "EXTERNAL_WOWNEROSEED=$(git rev-parse HEAD)" >> $GITHUB_ENV | ||
popd | ||
echo "WOWNERO_WOWNEROSEED=$(cat wownero/contrib/depends/packages/wownero_seed.mk | grep _download_file | tr '=.' '\n' | head -2 | tail -1)" >> $GITHUB_ENV | ||
- name: compare hashes | ||
run: | | ||
if [[ "x$WOWNERO_WOWNEROSEED" == "x" ]]; | ||
then | ||
echo "Unable to obtain wownero seed from wownero repo" | ||
exit 1 | ||
fi | ||
if [[ ! "x$EXTERNAL_WOWNEROSEED" == "x$WOWNERO_WOWNEROSEED" ]]; | ||
then | ||
echo "external/wownero-seed doesn't match wownero/contrib/depends/packages/wownero_seed.mk checksum" | ||
exit 1 | ||
fi | ||
polyseed: | ||
strategy: | ||
matrix: | ||
coin: [monero, wownero] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- name: Patch sources | ||
run: | | ||
git config --global --add safe.directory '*' | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI mrcyjanek.net" | ||
./apply_patches.sh ${{ matrix.coin }} | ||
- name: prepare | ||
run: | | ||
set -x | ||
pushd ${{ matrix.coin }}/contrib/depends | ||
make download # sorry, this is the easiest way | ||
mkdir sources/polyseed | ||
pushd sources/polyseed | ||
tar xzf ../polyseed*.tar.gz | ||
popd | ||
popd | ||
- name: diff | ||
run: | | ||
OUTPUT=$(diff -ra external/polyseed ${{ matrix.coin }}/contrib/depends/sources/polyseed/* | grep -v .git | wc -l) | ||
if [[ ! "x$OUTPUT" == "x0" ]]; | ||
then | ||
diff -ra external/polyseed ${{ matrix.coin }}/contrib/depends/sources/polyseed/* | ||
exit 1 | ||
fi |
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 |
---|---|---|
|
@@ -57,7 +57,7 @@ While building I aim to compile the code at oldest supported release of debian, | |
| x86_64-w64-mingw32 | debian:buster | -"- | | ||
| x86_64-apple-darwin11 | debian:bookworm | extra build step: `${HOST_ABI}-ranlib $PWD/$repo/contrib/depends/${HOST_ABI}/lib/libpolyseed.a` | | ||
| aarch64-apple-darwin11 | debian:bookworm | -"- | | ||
| host-apple-darwin | arm64-apple-darwin23 | dependencies: `brew install unbound [email protected] zmq && brew link [email protected]` | | ||
| host-apple-darwin | arm64-apple-darwin23 | dependencies: `brew install unbound [email protected] zmq cmake ccache autoconf automake libtool && brew link [email protected]` | | ||
| host-apple-ios | arm64-apple-darwin23 | | | ||
|
||
## Design | ||
|
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