Skip to content

Commit

Permalink
Add CI step for testing that cross-platform documentation works
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Dec 24, 2023
1 parent 77292e7 commit 3eed152
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ jobs:
- name: Check Formatting
run: cargo fmt -- --check

docsrs:
name: Check building on docs.rs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- name: Check Formatting
run: cargo doc --no-deps --features=rwh_04,rwh_05,rwh_06,serde,mint,android-native-activity
env:
RUSTDOCFLAGS: '--cfg=docsrs --deny=warnings'

tests:
name: Test ${{ matrix.toolchain }} ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
Expand Down

0 comments on commit 3eed152

Please sign in to comment.