Skip to content

Commit

Permalink
ci: Build and check docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Nov 14, 2023
1 parent 86232a8 commit e160aa4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,23 @@ jobs:

- name: cargo build
run: cargo build --target aarch64-apple-ios --all-targets --workspace

build-doc:
name: cargo docs-rs
runs-on: ubuntu-22.04
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: dtolnay/install@cargo-docs-rs
- name: install dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt update
sudo apt install pkg-config libjavascriptcoregtk-4.0-dev
fi
shell: bash
- run: cargo docs-rs

0 comments on commit e160aa4

Please sign in to comment.