1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/.builds/freebsd.yml
Christian Duerr edfcb81339
Run clippy on MSRV
Since not all suggested clippy lints by stable clippy are supported on
the MSRV of Alacritty, this commit moves the clippy checks to the MSRV.

Unfortunately this will mean that our lints might be significantly
behind, however it ensures our CI never blocks any code that should be
valid.

Developers themselves of course can still run the latest clippy to
follow the up to date recommendations.
2021-02-27 15:06:22 +00:00

38 lines
907 B
YAML

image: freebsd/latest
packages:
- devel/cmake
- devel/pkgconf
- lang/python3
- print/freetype2
- x11-fonts/fontconfig
- x11-fonts/dejavu
- x11/libxcb
sources:
- https://github.com/alacritty/alacritty
environment:
PATH: /home/build/.cargo/bin:/bin:/usr/bin:/usr/local/bin
tasks:
- rustup: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
- test: |
cd alacritty
cargo test
- oldstable: |
cd alacritty
rustup toolchain install --profile minimal 1.45.2
rustup default 1.45.2
cargo test
- clippy: |
cd alacritty
rustup component add clippy
cargo clippy --all-targets
- feature-wayland: |
cd alacritty/alacritty
cargo test --no-default-features --features=wayland
- feature-x11: |
cd alacritty/alacritty
cargo test --no-default-features --features=x11