1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-16 22:31:03 +02:00

ci(build): check each feature individually

This commit is contained in:
Jake Stanger 2025-04-16 22:46:58 +01:00
parent 5f5791cbe4
commit 75301868de
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -79,3 +79,55 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
feature-checks:
name: 'Check feature flag'
runs-on: ubuntu-latest
strategy:
matrix:
feature:
- http
- ipc
- cli
- config+all
- config+json
- config+yaml
- config+toml
- config+corn
- config+ron
- cairo
- clipboard
- clock
- custom
- focused
- keyboard
- keyboard+all
- keyboard+sway
- keyboard+hyprland
- label
- launcher
- music+all
- music+mpris
- music+mpd
- network_manager
- notifications
- sys_info
- script
- tray
- upower
- volume
- workspaces+all
- workspaces+sway
- workspaces+hyprland
- workspaces+niri
- schema
steps:
- uses: actions/checkout@v4
- name: Check
run: cargo check --no-default-features --features ${{ matrix.feature }}
env:
# Allow some warnings through as we'll never get it perfect
RUSTFLAGS: '-A unused-imports -A unused-variables -A unused-mut -A dead-code'