Skip to content

Commit

Permalink
ci attempt kevinmehall#1
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer committed Sep 12, 2024
1 parent 7d556a4 commit 581af8f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: [ "*" ]
pull_request:
branches: [ "main" ]

Expand All @@ -28,11 +28,22 @@ 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
- name: Build
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
run: cargo build --target armv7-linux-androideabi --all-features

0 comments on commit 581af8f

Please sign in to comment.