Skip to content

Commit

Permalink
Add mirror fot git repo
Browse files Browse the repository at this point in the history
Improve apply_patches.sh
Improve build_single.sh
Create tools to mirror all repositories in git bundles
  • Loading branch information
MrCyjaneK committed Feb 17, 2025
1 parent 9d9b1f2 commit e64ac9c
Show file tree
Hide file tree
Showing 16 changed files with 779 additions and 417 deletions.
487 changes: 164 additions & 323 deletions .github/workflows/full_check.yaml

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions .github/workflows/submodule-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Submodule Check

on: [ push ]

jobs:
check-submodules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run submodule scanner
run: |
# Create baseline scan if it doesn't exist
if [ ! -f tools/mirror/submodule-list.txt ]; then
mkdir -p tools/mirror
touch tools/mirror/submodule-list.txt
fi
# Save current list
cp tools/mirror/submodule-list.txt /tmp/original-submodules.txt
# Run scanner
bash tools/mirror/submodule-scanner.sh
# Compare files
if ! cmp -s /tmp/original-submodules.txt tools/mirror/submodule-list.txt; then
echo "Error: New submodules detected!"
echo "Diff between original and new submodules:"
diff /tmp/original-submodules.txt tools/mirror/submodule-list.txt || true
exit 1
fi
echo "No new submodules detected."
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ release/
build/
tests/dependencies
tests/wallets
full-run
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
TL;DR:

```bash
$ rm -rf monero wownero release
$ git submodule update --init --recursive --force
$ for coin in monero wownero zano; do ./apply_patches.sh $coin; done
$ ./build_single.sh monero $(gcc -dumpmachine) -j$(nproc)
```

Broken? Not working? Need help? https://moneroc.mrcyjanek.net/
Loading

0 comments on commit e64ac9c

Please sign in to comment.