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 - fontconfig
- libxcb - libxcb
- libxkbcommon - libxkbcommon
- scdoc
sources: sources:
- https://github.com/alacritty/alacritty - https://github.com/alacritty/alacritty
@ -18,13 +19,19 @@ environment:
tasks: tasks:
- rustup: | - rustup: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
- test: |
cd alacritty
cargo test
- rustfmt: | - rustfmt: |
cd alacritty cd alacritty
rustup toolchain install nightly -c rustfmt rustup toolchain install nightly -c rustfmt
cargo +nightly fmt -- --check 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: | - oldstable: |
cd alacritty cd alacritty
rustup toolchain install --profile minimal 1.65.0 rustup toolchain install --profile minimal 1.65.0

View File

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