-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Only require MSRV-check to succeed with
-Zminimal-versions
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 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 |
---|---|---|
|
@@ -38,17 +38,28 @@ jobs: | |
run: cargo check -p ndk-sys --all-targets --all-features --target aarch64-linux-android | ||
|
||
check_msrv: | ||
strategy: | ||
matrix: | ||
minimal_versions: [true, false] | ||
name: Check overall MSRV (1.66.0) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- uses: dtolnay/rust-toolchain@nightly | ||
if: ${{ matrix.minimal_versions }} | ||
|
||
- name: Select minimal crate versions | ||
run: cargo +nightly generate-lockfile -Zminimal-versions | ||
if: ${{ matrix.minimal_versions }} | ||
|
||
- uses: dtolnay/[email protected] | ||
with: | ||
target: aarch64-linux-android | ||
|
||
- name: cargo check | ||
run: cargo check --workspace --all-targets --all-features --target aarch64-linux-android | ||
continue-on-error: ${{ !matrix.minimal_versions }} | ||
|
||
build: | ||
strategy: | ||
|
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