2020-11-06 18:52:56 -05:00
|
|
|
image: archlinux
|
|
|
|
|
|
|
|
packages:
|
|
|
|
- pkg-config
|
|
|
|
- cmake
|
|
|
|
- make
|
|
|
|
- freetype2
|
|
|
|
- fontconfig
|
|
|
|
- libxcb
|
|
|
|
|
|
|
|
sources:
|
|
|
|
- https://github.com/alacritty/alacritty
|
|
|
|
|
|
|
|
environment:
|
|
|
|
PATH: /home/build/.cargo/bin:/usr/bin/
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- rustup: |
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
|
|
|
|
- test: |
|
|
|
|
cd alacritty
|
|
|
|
cargo test
|
|
|
|
- rustfmt: |
|
|
|
|
cd alacritty
|
|
|
|
rustup toolchain install nightly -c rustfmt
|
|
|
|
cargo +nightly fmt -- --check
|
|
|
|
- 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: |
|
|
|
|
cd alacritty/alacritty
|
|
|
|
cargo +1.43.1 test --no-default-features --features=wayland
|
|
|
|
- feature-x11: |
|
|
|
|
cd alacritty/alacritty
|
|
|
|
cargo +1.43.1 test --no-default-features --features=x11
|