Skip to content

Bind ML-DSA extrinsic signatures to the QUANTUS_EXTRINSIC context #1805

Bind ML-DSA extrinsic signatures to the QUANTUS_EXTRINSIC context

Bind ML-DSA extrinsic signatures to the QUANTUS_EXTRINSIC context #1805

Workflow file for this run

name: Quantus Apps CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Install Melos
run: dart pub global activate melos
- name: Bootstrap Melos
run: melos bootstrap
- name: Check Formatting
run: melos exec -- dart format lib test --line-length=120 --set-exit-if-changed
- name: Clean Flutter projects
run: melos exec --concurrency=1 -- "flutter clean"
- name: Analyze
run: melos exec --concurrency=1 -- "flutter analyze ."
- name: Create mock .env file to not fail the tests
run: touch mobile-app/.env
- name: Test Mobile App
run: melos exec --concurrency=1 --scope="resonance_network_wallet" -- "flutter test"
- name: Test Quantus SDK
# Tests tagged 'native' need the Rust dylib built locally; skip them in CI.
run: melos exec --concurrency=1 --scope="quantus_sdk" -- "flutter test --exclude-tags=native"
- name: Test Cold Wallet App
run: melos exec --concurrency=1 --scope="quantus_cold_wallet" -- "flutter test"
# build_android:
# name: Build Android
# needs: analyze
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-java@v4
# with:
# distribution: 'zulu'
# java-version: '17'
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: Install Melos
# run: dart pub global activate melos
# - name: Bootstrap Melos
# run: melos bootstrap
# - name: Build Android App
# run: |
# cd mobile-app
# flutter build apk --debug
# build_ios:
# name: Build iOS
# needs: analyze
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@nightly
# with:
# toolchain: nightly-2024-12-24
# targets: aarch64-apple-ios, aarch64-apple-ios-sim, x86_64-apple-ios
# - name: Install Melos
# run: dart pub global activate melos
# - name: Bootstrap Melos
# run: melos bootstrap
# - name: Build iOS App
# run: |
# cd mobile-app
# flutter build ios --debug --no-codesign
# build_macos:
# name: Build macOS
# needs: analyze
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@nightly
# with:
# toolchain: nightly-2024-12-24
# - name: Install Melos
# run: dart pub global activate melos
# - name: Bootstrap Melos
# run: melos bootstrap
# - name: Build macOS App
# run: |
# cd miner-app
# flutter build macos --debug