mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-08-17 16:34:54 -05:00
chore: implement CI check for feature powerset (#743)
* feature: Cache dependencies install in CI * feature: Implement CI check for feature powerset * fix: Fix dependency feature issues in subcrates * fix: Add libadwaita to CI
This commit is contained in:
@@ -99,3 +99,18 @@ jobs:
|
||||
run: cargo +nightly-2025-01-03 miri setup
|
||||
- name: Run tests inside Miri
|
||||
run: cargo +nightly-2025-01-03 miri test
|
||||
|
||||
check-features-powerset:
|
||||
runs-on: ubuntu-24.04
|
||||
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.draft }}
|
||||
strategy:
|
||||
matrix:
|
||||
command:
|
||||
- check --feature-powerset --no-dev-deps --all
|
||||
- test --feature-powerset --all
|
||||
steps:
|
||||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
|
||||
- uses: ./.github/actions/setup-environment
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- name: Run cargo hack ${{ matrix.command }}
|
||||
run: cargo hack ${{ matrix.command }}
|
||||
@@ -11,6 +11,6 @@ anyhow = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
tokio = { workspace = true, features = ["net", "sync"] }
|
||||
tokio = { workspace = true, features = ["net", "sync", "time", "io-util"] }
|
||||
futures = { workspace = true }
|
||||
nix = { workspace = true }
|
||||
nix = { workspace = true, features = ["user"] }
|
||||
|
||||
@@ -8,7 +8,7 @@ args = ["clap"]
|
||||
|
||||
[dependencies]
|
||||
amdgpu-sysfs = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive", "rc"]}
|
||||
serde_with = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user