Skip to content

Commit

Permalink
Add manpage generation test run.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Aug 6, 2024
1 parent 5e634a7 commit f0ef892
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt update && sudo apt install -y libnss-wrapper
sudo apt update && sudo apt install -y libnss-wrapper scdoc
- uses: Swatinem/rust-cache@v2
- name: Test
env:
Expand All @@ -32,6 +32,9 @@ jobs:
run: |
cargo test
LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_
- name: Generate manpage
run: |
scdoc < contrib/man/tuigreet-1.scd > /dev/null
build:
strategy:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt update && sudo apt install -y libnss-wrapper
sudo apt update && sudo apt install -y libnss-wrapper scdoc
- uses: Swatinem/rust-cache@v2
- name: Test
env:
Expand All @@ -32,6 +32,9 @@ jobs:
run: |
cargo test
LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_
- name: Generate manpage
run: |
scdoc < contrib/man/tuigreet-1.scd > /dev/null
build:
strategy:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt update && sudo apt install -y libnss-wrapper
sudo apt update && sudo apt install -y libnss-wrapper scdoc
- uses: Swatinem/rust-cache@v2
- name: Test
env:
Expand All @@ -32,6 +32,9 @@ jobs:
run: |
cargo test
LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_
- name: Generate manpage
run: |
scdoc < contrib/man/tuigreet-1.scd > /dev/null
build:
strategy:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt update && sudo apt install -y libnss-wrapper
sudo apt update && sudo apt install -y libnss-wrapper scdoc
- uses: Swatinem/rust-cache@v2
- name: Test
env:
Expand All @@ -32,6 +32,9 @@ jobs:
run: |
cargo test
LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_
- name: Generate manpage
run: |
scdoc < contrib/man/tuigreet-1.scd > /dev/null
build:
strategy:
Expand Down

0 comments on commit f0ef892

Please sign in to comment.