Skip to content

Update rust.yml

Update rust.yml #19

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install SDL2
run: sudo apt-get install libsdl2-dev libsdl2
- name: Install libunwind
run: sudo apt-get install android-libunwind-dev android-libunwind libunwind-dev
- name: Import
run: $PWD/import.sh
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-linux-android
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: run
args: --target aarch64-linux-android