mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-03 04:34:21 -05:00
4c6a763850
Fixes #5603. Fixes #5422. Fixes #5350. Fixes #4105. Co-authored-by: Christian Duerr <contact@christianduerr.com>
42 lines
962 B
YAML
42 lines
962 B
YAML
image: archlinux
|
|
|
|
packages:
|
|
- pkg-config
|
|
- cmake
|
|
- make
|
|
- freetype2
|
|
- fontconfig
|
|
- libxcb
|
|
- libxkbcommon
|
|
|
|
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
|
|
- oldstable: |
|
|
cd alacritty
|
|
rustup toolchain install --profile minimal 1.53.0
|
|
rustup default 1.53.0
|
|
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
|