fix(wallet): show HACD + mortgage portfolio, Mortgaged badge, calc loan #9
This file contains hidden or 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
| name: HIP-25 CI | |
| on: | |
| push: | |
| branches: [hip-25-staking] | |
| tags: ["v*-hip25-*"] | |
| pull_request: | |
| branches: [hip-25-staking] | |
| jobs: | |
| staking-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Run HIP-25 staking unit tests | |
| run: cargo test staking_tests | |
| - name: Run HIP-2 mortgage unit + E2E tests | |
| run: cargo test mortgage_ | |
| - name: Verify HIP-2 documentation | |
| run: | | |
| test -f docs/HIP2_MORTGAGE_V2.md | |
| test -f docs/HIP2_COMMUNITY_REVIEW.md | |
| test -f docs/HIP2_SECURITY_AUDITS.md | |
| release-build: | |
| runs-on: ubuntu-latest | |
| needs: staking-tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Install build deps | |
| run: sudo apt-get update && sudo apt-get install -y cmake build-essential | |
| - name: cargo build --release | |
| run: cargo build --release | |
| - name: Verify mainnet artifacts | |
| run: | | |
| test -f target/release/hacash | |
| test -f scripts/START_MAINNET_WALLET.bat | |
| test -f hacash_mainnet_hip25.config.ini.example | |
| security-audit-note: | |
| runs-on: ubuntu-latest | |
| needs: staking-tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify security artifacts present | |
| run: | | |
| test -f src/server/security.rs | |
| test -f hacash_mainnet_hip25.config.ini.example | |
| test -f wallet/hip25/index.html | |
| test -f scripts/START_MAINNET_WALLET.bat | |
| echo "HIP-25 mainnet artifacts OK" |