Skip to content

Commit

Permalink
Attempt to simplify CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndarilek committed Feb 9, 2024
1 parent 20b1894 commit 96a5209
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ on:
pull_request:

jobs:
check_formatting:
name: Check Formatting
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
rustup toolchain install stable
cargo fmt --all --check
cd examples/web
cargo fmt --all --check
check:
name: Check
strategy:
Expand All @@ -17,8 +28,7 @@ jobs:
if: ${{ runner.os == 'Linux' }}
- run: |
rustup toolchain install stable
cargo fmt --check
cargo clippy
cargo clippy --all-targets
check_web:
name: Check Web
Expand All @@ -28,19 +38,17 @@ jobs:
- run: |
rustup target add wasm32-unknown-unknown
rustup toolchain install stable
cargo fmt --all --check
cargo clippy --target wasm32-unknown-unknown
cargo clippy --all-targets --target wasm32-unknown-unknown
check_android:
name: Check Android
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
rustup target add aarch64-linux-android
rustup toolchain install stable
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
cargo install -f xbuild
cargo build --target aarch64-linux-android
cargo clippy --all-targets --target aarch64-linux-android
check_web_example:
name: Check Web Example
Expand Down

0 comments on commit 96a5209

Please sign in to comment.