2020-03-23 16:22:31 -04:00
|
|
|
image: freebsd/latest
|
2020-11-06 18:52:56 -05:00
|
|
|
|
2020-03-23 16:22:31 -04:00
|
|
|
packages:
|
|
|
|
- devel/cmake
|
|
|
|
- devel/pkgconf
|
|
|
|
- lang/python3
|
|
|
|
- print/freetype2
|
|
|
|
- x11-fonts/fontconfig
|
|
|
|
- x11-fonts/dejavu
|
|
|
|
- x11/libxcb
|
2020-11-06 18:52:56 -05:00
|
|
|
|
2020-03-23 16:22:31 -04:00
|
|
|
sources:
|
|
|
|
- https://github.com/alacritty/alacritty
|
2020-11-06 18:52:56 -05:00
|
|
|
|
|
|
|
environment:
|
|
|
|
PATH: /home/build/.cargo/bin:/bin:/usr/bin:/usr/local/bin
|
|
|
|
|
2020-03-23 16:22:31 -04:00
|
|
|
tasks:
|
|
|
|
- rustup: |
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
|
2020-11-06 18:52:56 -05:00
|
|
|
- test: |
|
2020-03-23 16:22:31 -04:00
|
|
|
cd alacritty
|
2020-11-06 18:52:56 -05:00
|
|
|
cargo test
|
|
|
|
- clippy: |
|
|
|
|
cd alacritty
|
|
|
|
rustup component add clippy
|
2020-11-10 10:47:49 -05:00
|
|
|
cargo clippy --all-targets
|
2020-11-06 18:52:56 -05:00
|
|
|
- oldstable: |
|
|
|
|
cd alacritty
|
|
|
|
rustup toolchain install --profile minimal 1.43.1
|
|
|
|
cargo +1.43.1 test
|
|
|
|
- feature-wayland: |
|
2020-10-12 05:22:36 -04:00
|
|
|
cd alacritty/alacritty
|
2020-11-06 18:52:56 -05:00
|
|
|
cargo test --no-default-features --features=wayland
|
|
|
|
- feature-x11: |
|
2020-10-12 05:22:36 -04:00
|
|
|
cd alacritty/alacritty
|
2020-11-06 18:52:56 -05:00
|
|
|
cargo test --no-default-features --features=x11
|