Skip to content

Commit

Permalink
Increase the MSRV presubmit checks to include multiple architectres
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Kaitchuck <tom.kaitchuck@emc.com>
  • Loading branch information
tkaitchuck committed Jan 8, 2024
1 parent 1e6f01a commit 718def4
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ jobs:
run: sudo apt-get install -y gcc-multilib libc6-i386 libc6-dev-i386
- run: cargo check --target i686-unknown-linux-gnu
- run: cargo test --target i686-unknown-linux-gnu
- name: check constrandom
run: cargo check --no-default-features --features compile-time-rng --target i686-unknown-linux-gnu
- name: Install 1.60.0
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
- run: cargo check --target i686-unknown-linux-gnu
- run: cargo test --target i686-unknown-linux-gnu
- name: check constrandom
run: cargo check --no-default-features --features compile-time-rng --target i686-unknown-linux-gnu
x86_64-unknown-linux-gnu:
name: Linux x86_64 - nightly
runs-on: ubuntu-latest
Expand All @@ -92,6 +102,16 @@ jobs:
targets: x86_64-unknown-linux-gnu
- run: cargo check --target x86_64-unknown-linux-gnu
- run: cargo test --target x86_64-unknown-linux-gnu
- name: check constrandom
run: cargo check --no-default-features --features compile-time-rng --target x86_64-unknown-linux-gnu
- name: Install 1.60.0
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
- run: cargo check --target x86_64-unknown-linux-gnu
- run: cargo test --target x86_64-unknown-linux-gnu
- name: check constrandom
run: cargo check --no-default-features --features compile-time-rng --target x86_64-unknown-linux-gnu
thumbv6m:
name: thumbv6m
runs-on: ubuntu-latest
Expand All @@ -112,17 +132,6 @@ jobs:
toolchain: stable
targets: wasm32-unknown-unknown
- run: cargo check --target wasm32-unknown-unknown --no-default-features
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install 1.60.0
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
- name: check
run: cargo check
no_std:
name: no-std build
runs-on: ubuntu-latest
Expand All @@ -132,3 +141,8 @@ jobs:
with:
toolchain: nightly
- run: cargo build --manifest-path=no_std_test/Cargo.toml
- name: Install 1.60.0
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
- run: cargo build --manifest-path=no_std_test/Cargo.toml

0 comments on commit 718def4

Please sign in to comment.