Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,28 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
toolchain: [ "1.80", stable ]
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
steps:
- uses: actions/checkout@v6
- name: Install rust stable
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
toolchain: ${{ matrix.toolchain }}
components: clippy
- name: Build Default
run: cargo build --workspace --all-targets --verbose
run: cargo build -p baseview --verbose
- name: Build All Features
run: cargo build --workspace --all-targets --all-features --verbose
run: cargo build -p baseview --all-features --verbose
- name: Run tests
run: cargo test --workspace --all-targets --all-features --verbose
run: cargo test -p baseview --all-features --verbose
- name: Build examples
if: matrix.toolchain != '1.80'
run: cargo build --workspace --all-targets --verbose
- name: Clippy
if: matrix.toolchain != '1.80'
run: cargo clippy --all --all-features -- -D warnings
checks:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ categories = ["gui"]
repository = "https://github.com/RustAudio/baseview"

exclude = [".github"]
rust-version = "1.80"

[features]
default = []
Expand Down
Loading