Skip to content

CI: Install Target

CI: Install Target #67

Workflow file for this run

name: docs CI
on:
workflow_dispatch:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: add target
run: rustup target add riscv64gc-unknown-none-elf
- name: generate doc
run: cargo doc --no-deps --all-features
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
single-commit: true
branch: gh-pages
folder: target/riscv64gc-unknown-none-elf/doc