Display all platform-specific documentation on docs.rs (#3076)

This commit is contained in:
Mads Marquart
2024-01-04 12:54:35 +01:00
committed by GitHub
parent 8b3de7cedf
commit 42dbc4748e
28 changed files with 810 additions and 814 deletions

View File

@@ -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 }}