Remove least used ci-build-crates.yml step and increase concurrency (#8058)
This commit is contained in:
parent
05a28b97f2
commit
73b3ed1f9f
|
|
@ -107,7 +107,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
# avoid rate-limit errors by only launching a few of these jobs at a time,
|
# avoid rate-limit errors by only launching a few of these jobs at a time,
|
||||||
# but still finish in a similar time to the longest tests
|
# but still finish in a similar time to the longest tests
|
||||||
max-parallel: 3
|
max-parallel: 4
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix: ${{ fromJson(needs.matrix.outputs.matrix) }}
|
matrix: ${{ fromJson(needs.matrix.outputs.matrix) }}
|
||||||
|
|
||||||
|
|
@ -134,21 +134,16 @@ jobs:
|
||||||
#
|
#
|
||||||
# Some Zebra crates do not have any features, and most don't have any default features.
|
# Some Zebra crates do not have any features, and most don't have any default features.
|
||||||
# Some targets activate features, but we still need to be able to build without them.
|
# Some targets activate features, but we still need to be able to build without them.
|
||||||
- name: Build ${{ matrix.crate }} crate with no default features
|
- name: Build ${{ matrix.crate }} crate with default features
|
||||||
run: |
|
run: |
|
||||||
cargo clippy --package ${{ matrix.crate }} --no-default-features -- -D warnings
|
cargo clippy --package ${{ matrix.crate }} -- -D warnings
|
||||||
cargo build --package ${{ matrix.crate }} --no-default-features
|
cargo build --package ${{ matrix.crate }}
|
||||||
|
|
||||||
- name: Build ${{ matrix.crate }} crate with no default features and all targets
|
- name: Build ${{ matrix.crate }} crate with no default features and all targets
|
||||||
run: |
|
run: |
|
||||||
cargo clippy --package ${{ matrix.crate }} --no-default-features --all-targets -- -D warnings
|
cargo clippy --package ${{ matrix.crate }} --no-default-features --all-targets -- -D warnings
|
||||||
cargo build --package ${{ matrix.crate }} --no-default-features --all-targets
|
cargo build --package ${{ matrix.crate }} --no-default-features --all-targets
|
||||||
|
|
||||||
- name: Build ${{ matrix.crate }} crate with default features
|
|
||||||
run: |
|
|
||||||
cargo clippy --package ${{ matrix.crate }} -- -D warnings
|
|
||||||
cargo build --package ${{ matrix.crate }}
|
|
||||||
|
|
||||||
- name: Build ${{ matrix.crate }} crate with default features and all targets
|
- name: Build ${{ matrix.crate }} crate with default features and all targets
|
||||||
run: |
|
run: |
|
||||||
cargo clippy --package ${{ matrix.crate }} --all-targets -- -D warnings
|
cargo clippy --package ${{ matrix.crate }} --all-targets -- -D warnings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue