Skip to content

Commit 2096a1e

Browse files
authored
fix: use all features in CI (#744)
* feature: Cache dependencies install in CI * fix: Add libadwaita to CI * fix: Use all-features where appropriate
1 parent f43eddb commit 2096a1e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/setup-environment/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ runs:
66
- name: Install dependencies
77
uses: awalsh128/cache-apt-pkgs-action@latest
88
with:
9-
packages: libgtk-4-dev pkg-config libvulkan-dev libdrm-dev curl fuse3 libfuse-dev ocl-icd-libopencl1 ocl-icd-opencl-dev
10-
version: 1.0
9+
packages: libgtk-4-dev pkg-config libvulkan-dev libdrm-dev curl fuse3 libfuse-dev ocl-icd-libopencl1 ocl-icd-opencl-dev libadwaita-1-dev
10+
version: 1.1
1111
- name: Update pci.ids
1212
run: sudo curl -o /usr/share/hwdata/pci.ids https://pci-ids.ucw.cz/v2.2/pci.ids
1313
shell: bash

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Build
2020
run: cargo build
2121
- name: Run tests
22-
run: cargo test --verbose
22+
run: cargo test --all --all-features --verbose
2323

2424
check-format:
2525
runs-on: ubuntu-24.04
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install clippy
4141
run: rustup component add clippy
4242
- name: Run clippy
43-
run: cargo clippy --verbose
43+
run: cargo clippy --all --all-features --verbose
4444

4545
check-audit:
4646
runs-on: ubuntu-24.04
@@ -70,7 +70,7 @@ jobs:
7070
version: '0.6.18'
7171

7272
- name: Generate coverage report
73-
run: cargo llvm-cov --no-fail-fast --include-ffi --workspace --lcov --output-path lcov.info
73+
run: cargo llvm-cov --no-fail-fast --include-ffi --workspace --lcov --output-path lcov.info
7474

7575
- name: Upload to Codecov
7676
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)