23 lines
707 B
YAML
23 lines
707 B
YAML
name: Native crypto
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
native-crypto:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: subosito/flutter-action@v2
|
|
with:
|
|
flutter-version: '3.44.3'
|
|
cache: true
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- run: flutter pub get
|
|
- run: cargo test --locked --manifest-path native/qlyra_crypto/rust/Cargo.toml
|
|
- run: cargo build --locked --manifest-path native/qlyra_crypto/rust/Cargo.toml
|
|
- run: flutter test --no-pub test/chat_crypto_roundtrip_test.dart test/outbox_queue_test.dart test/message_persistence_test.dart
|