Skip to content

Commit

Permalink
Cover libudev through features in semver-checks
Browse files Browse the repository at this point in the history
Semver checks for non-libudev builds selected through a non-libudev
target currently fail in CI. But we can select a non-libudev build also
through feature flags, namely '--no-default-features'.
  • Loading branch information
sirhcel committed Jan 13, 2025
1 parent 1be69de commit ad9ddcd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ jobs:
matrix:
target:
- aarch64-apple-darwin
# FIXME: Get a musl target for semver checks too.
# - aarch64-unknown-linux-musl
- arm-linux-androideabi
- x86_64-pc-windows-msvc
- x86_64-unknown-freebsd
- x86_64-unknown-linux-gnu
- x86_64-unknown-netbsd
feature-group:
- "only-explicit-features"
- "all-features"
steps:
- run: |
# TODO: Harmonize with build.yaml
Expand All @@ -138,6 +139,7 @@ jobs:
- uses: obi1kenobi/cargo-semver-checks-action@v2
with:
rust-target: ${{ matrix.target }}
feature-group: ${{ matrix.feature-group }}

# --------------------------------------------------------------------------
# cargo-deny
Expand Down

0 comments on commit ad9ddcd

Please sign in to comment.