-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #572 - cuviper:ci-msrv, r=Amanieu
ci: test the MSRV with minimal dependency versions This includes a slight bump of rayon for use of `ParallelIterator::copied`, and `pub(crate)` on `raw::Tag` because older compilers complain about the `pub(crate)` methods that expose it.
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,18 @@ jobs: | |
target: x86_64-unknown-linux-gnu | ||
channel: stable | ||
|
||
msrv: | ||
runs-on: ubuntu-latest | ||
needs: basics | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- uses: dtolnay/[email protected] # MSRV | ||
- run: cargo +nightly generate-lockfile -Z direct-minimal-versions | ||
- env: | ||
TARGET: x86_64-unknown-linux-gnu | ||
run: sh ci/run.sh | ||
|
||
# These jobs doesn't actually test anything, but they're only used to tell | ||
# bors the build completed, as there is no practical way to detect when a | ||
# workflow is successful listening to webhooks only. | ||
|
@@ -88,7 +100,7 @@ jobs: | |
name: bors build finished | ||
if: github.event.pusher.name == 'bors' && success() | ||
runs-on: ubuntu-latest | ||
needs: [miri, rustfmt_clippy, test] | ||
needs: [miri, rustfmt_clippy, test, msrv] | ||
|
||
steps: | ||
- name: Mark the job as successful | ||
|
@@ -98,7 +110,7 @@ jobs: | |
name: bors build finished | ||
if: github.event.pusher.name == 'bors' && (failure() || cancelled()) | ||
runs-on: ubuntu-latest | ||
needs: [miri, rustfmt_clippy, test] | ||
needs: [miri, rustfmt_clippy, test, msrv] | ||
|
||
steps: | ||
- name: Mark the job as a failure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters