diff --git a/.github/workflows/build-doc.yml b/.github/workflows/build-doc.yml index 2bba7a56..687f72af 100644 --- a/.github/workflows/build-doc.yml +++ b/.github/workflows/build-doc.yml @@ -12,6 +12,10 @@ jobs: - uses: actions/checkout@v2 - name: Build doc run: | + rustup target add riscv64gc-unknown-none-elf + cargo install cargo-binutils --vers =0.3.3 + rustup component add llvm-tools-preview + rustup component add rust-src cd os cargo doc --no-deps --verbose - name: Deploy to Github Pages @@ -19,4 +23,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./os/target/riscv64gc-unknown-none-elf/doc - destination_dir: ${{ github.ref_name }} + destination_dir: ${{ github.ref_name }} \ No newline at end of file