Skip to content

Commit

Permalink
CI: add a docs embed/strip test
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Dec 16, 2021
1 parent fe5bd7b commit 724f754
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,23 @@ jobs:
- run: python3 ./generator.py --yes ./
- run: git diff --exit-code

docs:
name: docs embed check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install rustdoc-stripper
- run: python3 generator.py --embed-docs
- run: python3 generator.py --strip-docs
- run: git diff --exit-code

checker:
name: gtk-rs checker
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 724f754

Please sign in to comment.