Files
HushKey/.github/workflows/ci.yml
T
X4Lo c5cb407481
CI / macos-latest (push) Canceled after 0s
CI / ubuntu-latest (push) Canceled after 0s
CI / windows-latest (push) Canceled after 0s
feat: volume sliders, output device switching, About credits (1.1.0)
- Per-app volume slider and a system volume card (slider + mute)
- Default output device picker; per-app output device picker
  (Windows via IPolicyConfig / IAudioPolicyConfigFactory, Linux via
  sink moves; macOS has no per-app routing API)
- Slider commands are coalesced on the audio thread
- Fix the Windows title-bar and taskbar icon (set via winit attributes)
- About: "by X4Lo" and a GitHub link
- README: app icon above the title
- --list prints output devices and system volume
- CI: run on master and on manual dispatch
2026-11-15 21:25:10 +00:00

44 lines
1.1 KiB
YAML

name: CI
on:
push:
branches: [main, master]
workflow_dispatch:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Linux system dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y pkg-config libpulse-dev libfontconfig1-dev libxkbcommon-dev
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test
- name: Release build
run: cargo build --release
- uses: actions/upload-artifact@v4
with:
name: hushkey-${{ runner.os }}
path: |
target/release/hushkey
target/release/hushkey.exe
if-no-files-found: ignore