This repository has been archived on 2026-08-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
donglora/vendor/enum-as-inner/.github/workflows/test.yml
T
swaitsandClaude Opus 4.6 3102fc747a feat: add display UI with splash screen, dashboard, and RSSI sparkline
Implement full SSD1306 OLED display support:
- Splash screen on boot (1.5s) with project name, version, board
- Dashboard showing radio state, config, counters, RSSI/SNR
- RSSI history sparkline (64-sample ring buffer, 2px-wide bars)
- DisplayOn/DisplayOff host commands routed via dedicated channel
- Pure render functions against generic DrawTarget (no hardware coupling)
- Display on/off control bypasses radio task entirely

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 20:42:54 -06:00

71 lines
1.7 KiB
YAML

name: test
on:
push:
branches:
- main
- release/**
pull_request:
branches:
- main
- release/**
schedule:
- cron: '0 3 * * 4'
jobs:
## Run all default oriented feature sets across all platforms.
platform-matrix:
name: platform
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: cargo test --all --all-targets --all-features
run: cargo test --all --all-targets --all-features
## Execute the clippy checks
cleanliness:
name: cleanliness
runs-on: ubuntu-latest
needs: platform-matrix
steps:
- uses: actions/checkout@v1
# not using the cargo cache here, since this differs significantly
- name: cargo-all cache
uses: actions/cache@v1
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-all-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-all-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo-all
${{ runner.os }}-cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
override: true
# Clippy
- name: cargo clippy
run: cargo clippy --lib --examples --tests --bins --all-features -- -D warnings
# Rustfmt
- name: cargo fmt
run: cargo fmt -- --check
# Audit
- name: cargo audit
run: cargo install cargo-audit && cargo audit --deny warnings