fix(ci): unblock dependabot dependency PR checks (#658)
This commit is contained in:
parent
5be4fd9138
commit
42f1d40f1f
5 changed files with 84 additions and 49 deletions
12
.github/workflows/feature-matrix.yml
vendored
12
.github/workflows/feature-matrix.yml
vendored
|
|
@ -37,12 +37,16 @@ jobs:
|
|||
include:
|
||||
- name: no-default-features
|
||||
args: --no-default-features
|
||||
install_libudev: false
|
||||
- name: all-features
|
||||
args: --all-features
|
||||
install_libudev: true
|
||||
- name: hardware-only
|
||||
args: --no-default-features --features hardware
|
||||
install_libudev: false
|
||||
- name: browser-native
|
||||
args: --no-default-features --features browser-native
|
||||
install_libudev: false
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
|
|
@ -54,8 +58,14 @@ jobs:
|
|||
with:
|
||||
key: features-${{ matrix.name }}
|
||||
|
||||
- name: Install Linux system dependencies for all-features
|
||||
if: matrix.install_libudev
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends libudev-dev pkg-config
|
||||
|
||||
- name: Check feature combination
|
||||
run: cargo check --locked ${{ matrix.args }}
|
||||
|
||||
- name: Test feature combination
|
||||
run: cargo test --locked ${{ matrix.args }}
|
||||
run: cargo test --locked ${{ matrix.args }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue