CI improvements + Android and FreeBSD targets (#177)
* Bump minimum Rust version to 1.60 As required by the `time` crate (`notify-rust` > `mac-notification-sys` > `time`). * Simplify CI Changes: - Bump `actions/checkout` to v3, fixing a bunch of warnings. - Replace unmaintained `actions-rs/cargo` by `dtolnay/rust-toolchain`. - Run Rustfmt only once. - Add support for cached dependencies (via `Swatinem/rust-cache`). * Add Android target Use the awesome `cross` tool for cross-compiling! * Add FreeBSD target
This commit is contained in:
4
Cross.toml
Normal file
4
Cross.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
# Workaround for: https://github.com/cross-rs/cross/issues/1100
|
||||
# TODO: Remove this file altogether once a new version of cross (after v0.2.4) is released.
|
||||
[target.x86_64-unknown-freebsd.env]
|
||||
passthrough = ["AR_x86_64_unknown_freebsd=x86_64-unknown-freebsd12-ar"]
|
||||
Reference in New Issue
Block a user