Skip to content

Commit

Permalink
Directly install aarch64-unknown-none target support
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 20, 2022
1 parent d1cbbb6 commit 84c157b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,20 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [beta, stable, 1.56.1, 1.53.0, 1.46.0, 1.45.0, 1.40.0, 1.38.0, 1.36.0]
rust: [beta, 1.56.1, 1.53.0, 1.46.0, 1.45.0, 1.40.0, 1.38.0, 1.36.0]
os: [ubuntu]
include:
- rust: stable
os: ubuntu
target: aarch64-unknown-none
- rust: stable
os: windows
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
targets: ${{matrix.target}}
- run: cargo check
- run: cargo check --features float_roundtrip
- run: cargo check --features arbitrary_precision
Expand All @@ -55,14 +59,8 @@ jobs:
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,preserve_order
if: matrix.rust != '1.53.0' && matrix.rust != '1.46.0' && matrix.rust != '1.45.0' && matrix.rust != '1.40.0' && matrix.rust != '1.38.0' && matrix.rust != '1.36.0'
- name: Build without std
run: |
rustup target add aarch64-unknown-none
cargo check \
--manifest-path tests/crate/Cargo.toml \
--target aarch64-unknown-none \
--no-default-features \
--features alloc
if: matrix.rust == 'stable' && matrix.os == 'ubuntu'
run: cargo check --manifest-path tests/crate/Cargo.toml --target ${{matrix.target}} --no-default-features --features alloc
if: matrix.target

miri:
name: Miri
Expand Down

0 comments on commit 84c157b

Please sign in to comment.