Skip to content
Open
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
39 changes: 24 additions & 15 deletions .github/workflows/build-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ jobs:
strategy:
#fail-fast: true
matrix:
rust:
- stable
- beta
- stable minus 5 releases
rust: [stable, beta, stable minus 5 releases, nightly]
feature:
- d
- d,images
Expand Down Expand Up @@ -43,24 +40,25 @@ jobs:
- name: test lib (${{matrix.feature}})
run: cargo test --lib --no-default-features --features ${{matrix.feature}}

# - name: test tests (${{matrix.feature}})
# run: cargo test --tests --no-default-features --features ${{matrix.feature}}

- name: test docs (${{matrix.feature}})
run: cargo test --doc --no-default-features --features ${{matrix.feature}}

- name: clippy (default features)
run: cargo clippy

- name: minimal versions check (nightly only)
if: matrix.rust == 'nightly'
run: |
cargo update -Z minimal-versions
cargo check
cargo check --all-features

windows:
name: windows
runs-on: windows-latest
strategy:
matrix:
rust:
- stable
- beta
- stable minus 5 releases
rust: [stable, beta, stable minus 5 releases, nightly]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
Expand All @@ -78,15 +76,19 @@ jobs:
- name: clippy (default features)
run: cargo clippy -- -D warnings

- name: minimal versions check (nightly only)
if: matrix.rust == 'nightly'
run: |
cargo update -Z minimal-versions
cargo check
cargo check --all-features

macos:
name: macos
runs-on: macos-latest
strategy:
matrix:
rust:
- stable
- beta
- stable minus 5 releases
rust: [stable, beta, stable minus 5 releases, nightly]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
Expand All @@ -103,3 +105,10 @@ jobs:

- name: clippy (default features)
run: cargo clippy -- -D warnings

- name: minimal versions check (nightly only)
if: matrix.rust == 'nightly'
run: |
cargo update -Z minimal-versions
cargo check
cargo check --all-features
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
[![version](https://img.shields.io/crates/v/notify-rust)](https://crates.io/crates/notify-rust/)
[![documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/notify-rust/)
[![license](https://img.shields.io/crates/l/notify-rust.svg?style=flat)](https://crates.io/crates/notify-rust/)
[![dependency status](https://deps.rs/repo/github/hoodie/notify-rust/status.svg)](https://deps.rs/repo/github/hoodie/notify-rust)

</div>

Expand Down Expand Up @@ -77,7 +78,7 @@ Similar to macOS we support windows via the help of [winrt-notification](https:/
Checkout [toastify](https://github.com/hoodie/toastify), it exposes most of the functionality of the lib to the commandline.

## Contribution
Any help in form of descriptive and friendly [issues](https://github.com/hoodie/notify-rust/issues) or comprehensive pull requests are welcome!
Any help in form of descriptive and friendly [issues](https://github.com/hoodie/notify-rust/issues) or comprehensive pull requests are welcome!


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in notify-rust by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Expand Down
Loading