chore: bdk-ffi submodule pre-0.30.0 #11
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ main, "**" ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Setup Dart | |
| uses: dart-lang/setup-dart@v1 | |
| with: | |
| sdk: "3.9.2" | |
| - name: Install lipo (macOS) | |
| if: matrix.os == 'macos-latest' | |
| run: | | |
| which lipo || echo 'lipo available in Xcode toolchain' | |
| - name: Generate bindings and native library | |
| run: | | |
| chmod +x scripts/generate_bindings.sh | |
| ./scripts/generate_bindings.sh | |
| - name: Ensure generated bindings exist | |
| run: test -f lib/bdk.dart | |
| - name: Pub get | |
| run: dart pub get | |
| - name: Format check | |
| run: dart format --output=none --set-exit-if-changed . | |
| - name: Analyze | |
| run: dart analyze --fatal-infos --fatal-warnings | |
| - name: Run tests | |
| run: | | |
| dart test |