Skip to content

Commit

Permalink
Merge pull request #164 from eminence/32bit-ci
Browse files Browse the repository at this point in the history
Do cargo-check for 32-bit linux in github CI
  • Loading branch information
eminence authored Nov 20, 2021
2 parents 3d7bd4b + d951f13 commit f6f227c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,24 @@ jobs:
run: cargo +${{ matrix.toolchain }} doc


android-check:
check:
strategy:
matrix:
toolchain: ["1.42.0", "stable", "beta", "nightly"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install toolchains
- name: Install toolchains (aarch64)
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: aarch64-linux-android
- name: Install toolchains (i686)
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: i686-unknown-linux-gnu

- name: Pin hex and bitflags
if: matrix.toolchain == '1.42.0'
Expand All @@ -70,6 +75,8 @@ jobs:
cargo +${{ matrix.toolchain }} update -p hex --precise 0.4.2
cargo +${{ matrix.toolchain }} update -p bitflags --precise 1.2.1
- name: cargo check
- name: cargo check (aarch64)
run: cargo +${{ matrix.toolchain }} check --target aarch64-linux-android
- name: cargo check (i686)
run: cargo +${{ matrix.toolchain }} check --target i686-unknown-linux-gnu

0 comments on commit f6f227c

Please # to comment.