Skip to content

Support the aarch64-linux-android target #9

Support the aarch64-linux-android target

Support the aarch64-linux-android target #9

Workflow file for this run

name: Rust
on:
push: { branches: "main" }
pull_request: { branches: "*" }
jobs:
cross_build:
name: Cross compile
runs-on: ubuntu-latest
strategy:
matrix:
target:
- i586-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- armv7-unknown-linux-gnueabihf
- aarch64-linux-android
steps:
- uses: actions/checkout@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- name: Build
run: cargo build --target=${{ matrix.target }} --verbose
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and test
run: cargo test --verbose