From 153d42fc17977e7799679e4341a40ecc1e922433 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Mon, 20 Nov 2023 16:21:31 +0000 Subject: [PATCH] CI: separated MSRV tests --- .github/workflows/test.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9593525c..34957d33 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,9 +48,6 @@ jobs: target: x86_64-pc-windows-msvc toolchain: beta # Test both windows-gnu and windows-msvc; use beta rust on one - - os: ubuntu-latest - target: x86_64-unknown-linux-gnu - toolchain: 1.51.0 # temporary MSRV of rand_jitter - os: ubuntu-latest deps: sudo apt-get update ; sudo apt install gcc-multilib target: i686-unknown-linux-gnu @@ -85,6 +82,25 @@ jobs: cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features + msrv: + name: MSRV for rand_hc / rand_isaac / rand_xorshift / rand_xoshiro + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.36.0 + - run: cd rand_hc && cargo test --all-features + - run: cd rand_isaac && cargo test --all-features + - run: cd rand_xorshift && cargo test --all-features + - run: cd rand_xoshiro && cargo test --all-features + + jitter: + name: MSRV for rand_jitter + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.51.0 + - run: cd rand_jitter && cargo test --features std + test-cross: runs-on: ubuntu-latest strategy: