add ci
This commit is contained in:
parent
7d556a4cc1
commit
fd62469b54
1 changed files with 14 additions and 1 deletions
15
.github/workflows/rust.yml
vendored
15
.github/workflows/rust.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
|
|
@ -36,3 +36,16 @@ jobs:
|
|||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
||||
build_android:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: 'aarch64-linux-android, armv7-linux-androideabi'
|
||||
- name: build
|
||||
run: |
|
||||
cargo build --target aarch64-linux-android --all-features
|
||||
cargo build --target armv7-linux-androideabi --all-features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue