Skip to content

refactor: DRY serializer #1264

refactor: DRY serializer

refactor: DRY serializer #1264

Workflow file for this run

name: Rust
on:
push:
branches: [main, next]
pull_request:
branches: [main, next]
jobs:
clippy:
name: Test on linux x86
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clippy
run: cargo clippy --verbose
env:
RUSTFLAGS: "-D warnings"
- name: Run tests
run: cargo test --verbose --all-features
clippy-android:
name: Clippy on android aarch64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install unzip
- run: cargo install cargo-ndk@2.11.0
- name: Setup Android NDK
id: ndk
uses: nttld/setup-ndk@v1.2.0
with:
ndk-version: r25b
- run: rustup target add aarch64-linux-android
- run: cargo ndk --target aarch64-linux-android --platform 23 clippy
env:
RUST_FLAGS: "-D warnings"
ANDROID_NDK_HOME: ${{ steps.ndk.outputs.ndk-path }}
ANDROID_NDK_ROOT: ${{ steps.ndk.outputs.ndk-path }}