1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/.builds/linux.yml

50 lines
1.3 KiB
YAML
Raw Normal View History

image: archlinux
packages:
- pkg-config
- cmake
- make
- freetype2
- fontconfig
- libxcb
- libxkbcommon
2023-09-07 07:23:08 -04:00
- scdoc
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
- rustfmt: |
cd alacritty
rustup toolchain install nightly -c rustfmt
cargo +nightly fmt -- --check
2023-09-07 07:23:08 -04:00
- man-pages: |
cd alacritty
cat extra/man/alacritty.1.scd | scdoc > /dev/null
cat extra/man/alacritty-msg.1.scd | scdoc > /dev/null
cat extra/man/alacritty.5.scd | scdoc > /dev/null
cat extra/man/alacritty-bindings.5.scd | scdoc > /dev/null
- test: |
cd alacritty
cargo test
- oldstable: |
cd alacritty
rustup toolchain install --profile minimal 1.70.0
rustup default 1.70.0
cargo test
- clippy: |
cd alacritty
rustup component add clippy
cargo clippy --all-targets
- feature-wayland: |
cd alacritty/alacritty
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=wayland
- feature-x11: |
cd alacritty/alacritty
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=x11