usb_bus_ehci
: better transaction completion tracking via DmaToken
#264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy site | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
default: true | |
profile: minimal | |
- name: Install dependencies | |
run: | | |
cargo install mdbook | |
- name: Generate rustdoc documentation | |
run: | | |
RUSTDOCFLAGS="-Zunstable-options --enable-index-page" \ | |
cargo doc \ | |
--all-features \ | |
--target-dir pages \ | |
--manifest-path kernel/Cargo.toml \ | |
--workspace \ | |
--document-private-items | |
mv site/* pages/ | |
- name: Generate book | |
run: | | |
cd book && mdbook build | |
- name: Deploy to Github Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: pages |