Files
monero_c/.gitea/workflows/consistency.yml
T
Codex b506d2a8ee
consistency / checksum sync (push) Successful in 6s
consistency / Dart bindings sync (push) Failing after 9s
build / peya x86_64 Linux (push) Failing after 7s
build / peya Win64 (push) Failing after 7s
Add Gitea workflows for monero_c builds
2026-04-08 21:52:09 +02:00

87 lines
2.4 KiB
YAML

name: consistency
on:
workflow_dispatch:
push:
branches:
- develop
- main
paths:
- ".gitea/workflows/consistency.yml"
- "generate_checksum.sh"
- "impls/monero.dart/**"
- "impls/monero.ts/**"
- "monero_libwallet2_api_c/**"
- "salvium_libwallet2_api_c/**"
- "peya_libwallet2_api_c/**"
- ".gitmodules"
jobs:
checksums:
name: checksum sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
with:
fetch-depth: 1
submodules: false
- name: Generate checksums
run: |
./generate_checksum.sh
- name: Check for dirty tree
run: |
git diff --exit-code
dart-bindings:
name: Dart bindings sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
with:
fetch-depth: 1
submodules: false
- name: Configure Gitea auth for private submodules
env:
MONERO_C_GITEA_PAT: ${{ secrets.MONERO_C_GITEA_PAT }}
run: |
set -euo pipefail
if [ -z "${MONERO_C_GITEA_PAT:-}" ]; then
echo "Missing MONERO_C_GITEA_PAT secret for private submodules"
exit 1
fi
git config --global url."http://tiamak:${MONERO_C_GITEA_PAT}@54.38.205.168:3000/".insteadOf "http://54.38.205.168:3000/"
git submodule sync
git -c protocol.version=2 submodule update --init --force monero salvium peya
git -C monero submodule sync --recursive
git -C salvium submodule sync --recursive
git -C peya submodule sync --recursive
git -C monero -c protocol.version=2 submodule update --init --force --recursive
git -C salvium -c protocol.version=2 submodule update --init --force --recursive
git -C peya -c protocol.version=2 submodule update --init --force --recursive
- name: Setup Flutter
uses: https://github.com/subosito/flutter-action@v2
with:
channel: stable
- name: Fetch Dart dependencies
run: |
cd impls/monero.dart
dart pub get
- name: Regenerate Dart bindings
run: |
cd impls/monero.dart
./update_bindings.sh
- name: Check for dirty tree
run: |
git diff --exit-code