Test man-pages compilation on the CI
This commit is contained in:
parent
d5e4c5b6a9
commit
34b5dbacd2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue