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
|
2021-07-08 16:35:58 -04:00
|
|
|
- x11/libxkbcommon
|
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
|
2021-02-27 10:06:22 -05:00
|
|
|
- oldstable: |
|
|
|
|
cd alacritty
|
2023-05-16 02:35:25 -04:00
|
|
|
rustup toolchain install --profile minimal 1.65.0
|
|
|
|
rustup default 1.65.0
|
2021-02-27 10:06:22 -05:00
|
|
|
cargo test
|
2020-11-06 18:52:56 -05:00
|
|
|
- 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
|
|
|
- feature-wayland: |
|
2020-10-12 05:22:36 -04:00
|
|
|
cd alacritty/alacritty
|
2022-02-09 11:25:36 -05:00
|
|
|
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=wayland
|
2020-11-06 18:52:56 -05:00
|
|
|
- feature-x11: |
|
2020-10-12 05:22:36 -04:00
|
|
|
cd alacritty/alacritty
|
2022-02-09 11:25:36 -05:00
|
|
|
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=x11
|