Test man-pages compilation on the CI

This commit is contained in:
Kirill Chibisov 2023-09-07 15:23:08 +04:00 committed by GitHub
parent d5e4c5b6a9
commit 34b5dbacd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View File

@ -8,6 +8,7 @@ packages:
- fontconfig
- libxcb
- libxkbcommon
- scdoc
sources:
- https://github.com/alacritty/alacritty
@ -18,13 +19,19 @@ environment:
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
- 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.65.0

View File

@ -937,10 +937,10 @@ relied upon.
*prefer_egl* <boolean>
Use EGL as display API if the current platform allows it. Note that
transparency may not work with EGL on Linux/BSD.
Use EGL as display API if the current platform allows it. Note that
transparency may not work with EGL on Linux/BSD.
Default: _false_
Default: _false_
# SEE ALSO